Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 175.5 kB / 16.72 MB, free: 4.949 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 91.88 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003184, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.001893/0.2157, allocations: 2.052 MB / 377.1 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.2167, allocations: 0.7393 MB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2168, allocations: 5.062 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.217, allocations: 31.47 kB / 377.9 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2171, allocations: 86.86 kB / 378 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2174, allocations: 94.19 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.2178, allocations: 418.2 kB / 378.5 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2179, allocations: 76.16 kB / 378.6 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2181, allocations: 156.3 kB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.2183, allocations: 188.8 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.2184, allocations: 19.88 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.2184, allocations: 19.34 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.2185, allocations: 65.92 kB / 379 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2186, allocations: 185 kB / 379.2 MB, free: 42.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2188, allocations: 291 kB / 379.5 MB, free: 42.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2189, allocations: 1 kB / 379.5 MB, free: 42.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2189, allocations: 0 / 379.5 MB, free: 42.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2189, allocations: 0 / 379.5 MB, free: 42.13 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001246/0.2201, allocations: 0.6716 MB / 380.1 MB, free: 41.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2202, allocations: 9.469 kB / 380.2 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.2203, allocations: 36.38 kB / 380.2 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.2205, allocations: 272 kB / 380.5 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.2209, allocations: 144 kB / 380.6 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.2209, allocations: 25.09 kB / 380.6 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.2218, allocations: 407.5 kB / 381 MB, free: 40.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2218, allocations: 13.42 kB / 381 MB, free: 40.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2219, allocations: 10.62 kB / 381 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2219, allocations: 6.438 kB / 381 MB, free: 40.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.223, allocations: 463.6 kB / 381.5 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2241, allocations: 0.9773 MB / 382.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/0.225, allocations: 462.6 kB / 382.9 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.2256, allocations: 245.2 kB / 383.2 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2257, allocations: 8.281 kB / 383.2 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2257, allocations: 40.62 kB / 383.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.2257, allocations: 0 / 383.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.004288/0.23, allocations: 2.507 MB / 385.7 MB, free: 37.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.23, allocations: 111 kB / 385.8 MB, free: 37.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2302, allocations: 199.2 kB / 386 MB, free: 37.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.2302, allocations: 41.64 kB / 386.1 MB, free: 37.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.2303, allocations: 152.6 kB / 386.2 MB, free: 37.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.2304, allocations: 130 kB / 386.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2304, allocations: 8 kB / 386.4 MB, free: 36.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.2305, allocations: 338.8 kB / 386.7 MB, free: 36.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.2307, allocations: 120.7 kB / 386.8 MB, free: 36.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.231, allocations: 169.5 kB / 387 MB, free: 36.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.2315, allocations: 292.3 kB / 387.2 MB, free: 35.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2315, allocations: 4 kB / 387.3 MB, free: 35.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006635/0.2322, allocations: 376.4 kB / 387.6 MB, free: 35.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2322, allocations: 8 kB / 387.6 MB, free: 35.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2322, allocations: 3.984 kB / 387.6 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2323, allocations: 4 kB / 387.6 MB, free: 35.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.2329, allocations: 171.9 kB / 387.8 MB, free: 35.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.2329, allocations: 7.938 kB / 387.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2331, allocations: 31.98 kB / 387.8 MB, free: 35.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2332, allocations: 16 kB / 387.9 MB, free: 35.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2333, allocations: 141.8 kB / 388 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.2334, allocations: 31.56 kB / 388 MB, free: 35.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.2334, allocations: 33.52 kB / 388.1 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2334, allocations: 4 kB / 388.1 MB, free: 35.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2335, allocations: 0 / 388.1 MB, free: 35.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2335, allocations: 3.984 kB / 388.1 MB, free: 35.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.2354, allocations: 1.398 MB / 389.5 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2354, allocations: 4 kB / 389.5 MB, free: 33.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.2361, allocations: 200 kB / 389.7 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2362, allocations: 4 kB / 389.7 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2362, allocations: 19.92 kB / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2362, allocations: 4 kB / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2362, allocations: 0 / 389.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.2378, allocations: 1.053 MB / 390.7 MB, free: 32.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.238, allocations: 128.8 kB / 390.9 MB, free: 32.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.238, allocations: 19.92 kB / 390.9 MB, free: 32.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.2384, allocations: 59.95 kB / 391 MB, free: 32.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.2385, allocations: 39.97 kB / 391 MB, free: 32.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2385, allocations: 23.92 kB / 391 MB, free: 32.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.2386, allocations: 148.6 kB / 391.2 MB, free: 31.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2386, allocations: 4 kB / 391.2 MB, free: 31.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000405/0.239, allocations: 84 kB / 391.2 MB, free: 31.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.2392, allocations: 104.1 kB / 391.3 MB, free: 31.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008372/0.24, allocations: 398.3 kB / 391.7 MB, free: 31.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.24, allocations: 192 / 391.7 MB, free: 31.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.2406, allocations: 296 kB / 392 MB, free: 31.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2413, allocations: 64.56 kB / 392.1 MB, free: 30.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.2454, allocations: 1.766 MB / 393.9 MB, free: 29.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2456, allocations: 0.7685 MB / 394.6 MB, free: 28.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2457, allocations: 31.42 kB / 394.7 MB, free: 28.31 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2457, allocations: 0 / 394.7 MB, free: 28.31 MB / 298.7 MB Notification: Performance of Templates: time 0.004334/0.2501, allocations: 3.816 MB / 398.5 MB, free: 24.5 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches