Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9468/0.9468, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.121e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003178/0.0032, allocations: 2.468 MB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.004205, allocations: 0.7327 MB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.004316, allocations: 7.938 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.004416, allocations: 39.59 kB / 271.2 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.004576, allocations: 119 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.00484, allocations: 131.7 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.005165, allocations: 478 kB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.005279, allocations: 53.12 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.005515, allocations: 267.5 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005658, allocations: 167.6 kB / 272.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.005701, allocations: 36 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.005741, allocations: 44 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005793, allocations: 87.7 kB / 272.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.00588, allocations: 135.7 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.006123, allocations: 303 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006125, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.006126, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00613, allocations: 0 / 273 MB, free: 1.398 MB / 250.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.0007479/0.006878, allocations: 0.6714 MB / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.006906, allocations: 12.92 kB / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.006984, allocations: 60.7 kB / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007206, allocations: 223.9 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.007298, allocations: 139.9 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.007336, allocations: 28.38 kB / 274.1 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.007711, allocations: 299.8 kB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007726, allocations: 11.94 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.007747, allocations: 8 kB / 274.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.007753, allocations: 4 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.007992, allocations: 183.2 kB / 274.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.008742, allocations: 0.9006 MB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.009037, allocations: 261.2 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.009176, allocations: 119 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.00919, allocations: 4 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.009213, allocations: 49.31 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.202e-06/0.009214, allocations: 4 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001401/0.01061, allocations: 1.376 MB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.01065, allocations: 114.7 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.01077, allocations: 237.6 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01079, allocations: 29.7 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.01087, allocations: 203.4 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.01094, allocations: 146.7 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.01103, allocations: 75.84 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01115, allocations: 0.5079 MB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.01128, allocations: 60.95 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.0114, allocations: 131.1 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.0116, allocations: 190 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01161, allocations: 3.938 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003066/0.01191, allocations: 264.5 kB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01192, allocations: 11.94 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.01193, allocations: 0 / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.01194, allocations: 7.984 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01224, allocations: 127.9 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01225, allocations: 4 kB / 279.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.01234, allocations: 19.98 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01235, allocations: 12 kB / 279.4 MB, free: 10.45 MB / 266.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.144e-05/0.01244, allocations: 180.5 kB / 279.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.01251, allocations: 43.8 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.01255, allocations: 33.47 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.01256, allocations: 4 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01256, allocations: 7.875 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01257, allocations: 7.984 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.01354, allocations: 1.132 MB / 280.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01354, allocations: 0 / 280.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.01395, allocations: 143.8 kB / 281 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01395, allocations: 0 / 281 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.01397, allocations: 16 kB / 281 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01398, allocations: 4 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01398, allocations: 8.031 kB / 281 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.01462, allocations: 0.7982 MB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.01478, allocations: 51.81 kB / 281.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01481, allocations: 15.94 kB / 281.9 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.015, allocations: 35.97 kB / 281.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.01509, allocations: 51.8 kB / 282 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01511, allocations: 12 kB / 282 MB, free: 7.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.01519, allocations: 171.2 kB / 282.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01519, allocations: 0 / 282.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000297/0.01549, allocations: 80 kB / 282.2 MB, free: 7.516 MB / 266.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 0.0001128/0.0156, allocations: 107.2 kB / 282.3 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.01593, allocations: 224.1 kB / 282.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01594, allocations: 0 / 282.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.01611, allocations: 148.3 kB / 282.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.01656, allocations: 95.8 kB / 282.8 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.01903, allocations: 1.187 MB / 284 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.779e-05/0.0191, allocations: 100.8 kB / 284.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.0192, allocations: 42.94 kB / 284.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.01929, allocations: 36.48 kB / 284.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01929, allocations: 0 / 284.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of Templates: time 0.006937/0.02623, allocations: 4.75 MB / 288.9 MB, free: 0.8008 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7299941452220082]