Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 114 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 51.92 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1573, allocations: 46.62 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.006349/0.1637, allocations: 2.486 MB / 329.3 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1663, allocations: 0.7649 MB / 330 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.1667, allocations: 4 kB / 330 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1671, allocations: 27.78 kB / 330.1 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.1676, allocations: 95.23 kB / 330.2 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.1683, allocations: 111.9 kB / 330.3 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000853/0.1691, allocations: 458.2 kB / 330.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.1695, allocations: 92.86 kB / 330.8 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.17, allocations: 187.4 kB / 331 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.1704, allocations: 199.3 kB / 331.2 MB, free: 372 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1706, allocations: 36 kB / 331.2 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1708, allocations: 43.94 kB / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1709, allocations: 87.72 kB / 331.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.1713, allocations: 179.2 kB / 331.5 MB, free: 24 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.172, allocations: 407 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.172, allocations: 0 / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.284e-06/0.1721, allocations: 0 / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1721, allocations: 3.938 kB / 331.9 MB, free: 15.62 MB / 286.1 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.002735/0.1748, allocations: 0.6862 MB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1749, allocations: 8.031 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1751, allocations: 36.56 kB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.1758, allocations: 271.5 kB / 332.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006434/0.1764, allocations: 132.2 kB / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1766, allocations: 35.84 kB / 333.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1783, allocations: 375.2 kB / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.1783, allocations: 0 / 333.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.1784, allocations: 16 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1785, allocations: 8 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1806, allocations: 391.5 kB / 333.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.183, allocations: 0.9735 MB / 334.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.1848, allocations: 407.5 kB / 335.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009768/0.1858, allocations: 218.4 kB / 335.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.1859, allocations: 7.984 kB / 335.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.1859, allocations: 38.94 kB / 335.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 6.662e-06/0.186, allocations: 4 kB / 335.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.00837/0.1943, allocations: 2.316 MB / 337.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1945, allocations: 106.8 kB / 337.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.195, allocations: 211 kB / 338.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.1951, allocations: 37.69 kB / 338.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1953, allocations: 148.6 kB / 338.3 MB, free: 8.711 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1955, allocations: 137.9 kB / 338.4 MB, free: 8.574 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.1958, allocations: 74.12 kB / 338.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1959, allocations: 338.8 kB / 338.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.1965, allocations: 108.8 kB / 338.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.1971, allocations: 165.5 kB / 339.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1982, allocations: 282.3 kB / 339.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1982, allocations: 0 / 339.4 MB, free: 7.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001358/0.1996, allocations: 379.9 kB / 339.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.1997, allocations: 4 kB / 339.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1997, allocations: 4 kB / 339.8 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.1997, allocations: 3.984 kB / 339.8 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2009, allocations: 151.8 kB / 339.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.201, allocations: 4 kB / 339.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.2015, allocations: 27.98 kB / 339.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.2015, allocations: 12 kB / 339.9 MB, free: 6.996 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.2019, allocations: 141.8 kB / 340.1 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.2021, allocations: 31.56 kB / 340.1 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2022, allocations: 37.52 kB / 340.2 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2022, allocations: 4 kB / 340.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.2023, allocations: 4.922 kB / 340.2 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2023, allocations: 3.984 kB / 340.2 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.2062, allocations: 1.335 MB / 341.5 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2062, allocations: 0 / 341.5 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.2077, allocations: 168.1 kB / 341.7 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.2077, allocations: 7.938 kB / 341.7 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.2078, allocations: 15.92 kB / 341.7 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.2078, allocations: 4 kB / 341.7 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/0.2078, allocations: 4 kB / 341.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.2113, allocations: 0.9552 MB / 342.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.2117, allocations: 124.8 kB / 342.8 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.2118, allocations: 19.92 kB / 342.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.2126, allocations: 39.95 kB / 342.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.2128, allocations: 43.89 kB / 342.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.2128, allocations: 19.98 kB / 342.9 MB, free: 3.887 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.2131, allocations: 148.6 kB / 343 MB, free: 3.742 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2131, allocations: 0 / 343 MB, free: 3.742 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008618/0.214, allocations: 80 kB / 343.1 MB, free: 3.664 MB / 286.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.2142, allocations: 111.1 kB / 343.2 MB, free: 3.547 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2161, allocations: 387.6 kB / 343.6 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.2161, allocations: 0 / 343.6 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.2173, allocations: 248 kB / 343.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.2187, allocations: 73.19 kB / 343.9 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.2278, allocations: 1.538 MB / 345.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.2286, allocations: 0.7682 MB / 346.2 MB, free: 480 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000495/0.2291, allocations: 42.91 kB / 346.3 MB, free: 436 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.2294, allocations: 35.42 kB / 346.3 MB, free: 400 kB / 286.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2295, allocations: 0 / 346.3 MB, free: 400 kB / 286.1 MB Notification: Performance of Templates: time 0.0156/0.2451, allocations: 4.084 MB / 350.4 MB, free: 12.31 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches