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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 160.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.848/0.848, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.153e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002166/0.002187, allocations: 2.277 MB / 302 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.003085, allocations: 0.7453 MB / 302.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.003177, allocations: 7.938 kB / 302.7 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.00333, allocations: 39.53 kB / 302.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.0035, allocations: 119 kB / 302.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.003748, allocations: 131.8 kB / 303 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.004038, allocations: 481.9 kB / 303.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.004162, allocations: 61.08 kB / 303.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.004359, allocations: 267.5 kB / 303.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.004495, allocations: 159.6 kB / 304 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.004538, allocations: 40 kB / 304 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.004573, allocations: 36 kB / 304 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.004623, allocations: 87.77 kB / 304.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.004755, allocations: 131.7 kB / 304.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.005071, allocations: 446.7 kB / 304.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005074, allocations: 0 / 304.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005076, allocations: 0 / 304.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005082, allocations: 7.875 kB / 304.7 MB, free: 1.914 MB / 282.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.0009096/0.005992, allocations: 0.6105 MB / 305.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006026, allocations: 15.98 kB / 305.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.006084, allocations: 44.67 kB / 305.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.006345, allocations: 209.1 kB / 305.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.006446, allocations: 135.8 kB / 305.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.006493, allocations: 32.33 kB / 305.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.007009, allocations: 382.6 kB / 306.1 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.007023, allocations: 0 / 306.1 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.007047, allocations: 12 kB / 306.1 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.007052, allocations: 4 kB / 306.1 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.007683, allocations: 391.6 kB / 306.5 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.00846, allocations: 0.8177 MB / 307.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.009031, allocations: 387.6 kB / 307.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.009341, allocations: 214.9 kB / 307.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.009358, allocations: 7.938 kB / 307.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.009379, allocations: 42.5 kB / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.00938, allocations: 0 / 307.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.002444/0.01182, allocations: 1.874 MB / 309.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.01187, allocations: 114.7 kB / 309.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.01198, allocations: 178.8 kB / 310.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.012, allocations: 37.7 kB / 310.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.01207, allocations: 148.8 kB / 310.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.01214, allocations: 150.7 kB / 310.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.01222, allocations: 66.19 kB / 310.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.0123, allocations: 338.8 kB / 310.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01247, allocations: 112.9 kB / 310.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01266, allocations: 170 kB / 311.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.01301, allocations: 292.6 kB / 311.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01301, allocations: 0 / 311.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004304/0.01344, allocations: 366.2 kB / 311.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01345, allocations: 4 kB / 311.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.01346, allocations: 7.984 kB / 311.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01347, allocations: 4 kB / 311.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.01379, allocations: 151.8 kB / 311.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.0138, allocations: 3.938 kB / 311.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.0139, allocations: 27.98 kB / 311.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01391, allocations: 12 kB / 312 MB, free: 10.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.014, allocations: 141.8 kB / 312.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.01405, allocations: 27.86 kB / 312.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.01409, allocations: 33.45 kB / 312.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01409, allocations: 7.984 kB / 312.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.01409, allocations: 3.938 kB / 312.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.0141, allocations: 3.984 kB / 312.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.01535, allocations: 1.198 MB / 313.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01535, allocations: 0 / 313.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.01574, allocations: 172 kB / 313.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01574, allocations: 7.938 kB / 313.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01576, allocations: 8 kB / 313.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01576, allocations: 4 kB / 313.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01576, allocations: 4 kB / 313.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.01681, allocations: 0.9456 MB / 314.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.01688, allocations: 51.88 kB / 314.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.01691, allocations: 11.98 kB / 314.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.0171, allocations: 47.89 kB / 314.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.01716, allocations: 47.88 kB / 314.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01718, allocations: 12.11 kB / 314.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.01725, allocations: 142.9 kB / 314.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01725, allocations: 0 / 314.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.01752, allocations: 84 kB / 314.9 MB, free: 7.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.027e-05/0.0176, allocations: 99.19 kB / 315 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005121/0.01811, allocations: 368.2 kB / 315.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01811, allocations: 4 kB / 315.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.01845, allocations: 239.6 kB / 315.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01886, allocations: 68.98 kB / 315.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.02136, allocations: 1.332 MB / 317 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.498e-05/0.02145, allocations: 163.9 kB / 317.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.02154, allocations: 36.48 kB / 317.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02154, allocations: 0 / 317.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Templates: time 0.003532/0.02507, allocations: 3.997 MB / 321.2 MB, free: 0.7617 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.468807516619563]