Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 166.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9978/0.9978, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 274.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.213e-05, allocations: 4.344 kB / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002645/0.002668, allocations: 2.458 MB / 276.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003818, allocations: 0.7651 MB / 277.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003929, allocations: 7.938 kB / 277.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.00405, allocations: 35.59 kB / 277.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.004218, allocations: 115 kB / 277.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.004507, allocations: 135.7 kB / 277.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.004848, allocations: 482 kB / 278.1 MB, free: 332 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.004977, allocations: 49.14 kB / 278.1 MB, free: 276 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.005249, allocations: 279.5 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.005618, allocations: 163.6 kB / 278.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.005661, allocations: 36 kB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.005703, allocations: 40 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.005766, allocations: 91.7 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.005854, allocations: 131.7 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.006103, allocations: 302.9 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006105, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006106, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.00611, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.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.0008065/0.006917, allocations: 0.6792 MB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.006948, allocations: 12.03 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.007027, allocations: 60.7 kB / 279.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.007251, allocations: 224.6 kB / 280.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.007342, allocations: 131.9 kB / 280.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.007382, allocations: 24.38 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.007742, allocations: 291.7 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.007757, allocations: 3.953 kB / 280.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.007778, allocations: 8 kB / 280.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.007785, allocations: 8 kB / 280.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.007974, allocations: 143.2 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.008726, allocations: 0.8816 MB / 281.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.008978, allocations: 225.2 kB / 281.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.009085, allocations: 110.9 kB / 281.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.009101, allocations: 8 kB / 281.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.009124, allocations: 37.39 kB / 282 MB, free: 12.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.009125, allocations: 0 / 282 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.00125/0.01038, allocations: 1.207 MB / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.01041, allocations: 106.8 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01053, allocations: 242.1 kB / 283.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01055, allocations: 33.7 kB / 283.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.01063, allocations: 203.5 kB / 283.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.01071, allocations: 150.7 kB / 283.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.0108, allocations: 75.81 kB / 284 MB, free: 9.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01092, allocations: 0.5079 MB / 284.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01102, allocations: 48.95 kB / 284.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.01111, allocations: 115 kB / 284.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.01128, allocations: 182.2 kB / 284.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01129, allocations: 0 / 284.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002653/0.01155, allocations: 252 kB / 285.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01156, allocations: 4 kB / 285.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.01157, allocations: 4 kB / 285.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.01158, allocations: 0 / 285.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.01188, allocations: 127.9 kB / 285.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01189, allocations: 7.938 kB / 285.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.01198, allocations: 23.92 kB / 285.2 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01199, allocations: 8 kB / 285.2 MB, free: 8.672 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.422e-05/0.01208, allocations: 180.5 kB / 285.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.01236, allocations: 39.86 kB / 285.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.0124, allocations: 37.44 kB / 285.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.0124, allocations: 4 kB / 285.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01241, allocations: 0 / 285.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.01241, allocations: 7.922 kB / 285.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.01329, allocations: 1.078 MB / 286.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.01329, allocations: 4 kB / 286.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.01366, allocations: 140 kB / 286.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01367, allocations: 8 kB / 286.7 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.01369, allocations: 8 kB / 286.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01369, allocations: 7.938 kB / 286.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01369, allocations: 4 kB / 286.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.01419, allocations: 0.7617 MB / 287.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.01427, allocations: 51.81 kB / 287.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.0143, allocations: 8 kB / 287.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.01449, allocations: 31.97 kB / 287.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.01455, allocations: 47.86 kB / 287.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01457, allocations: 12 kB / 287.6 MB, free: 6.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.01463, allocations: 168.4 kB / 287.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 287.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.01491, allocations: 84 kB / 287.9 MB, free: 5.859 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 9.147e-05/0.015, allocations: 115.1 kB / 288 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01523, allocations: 196.2 kB / 288.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01523, allocations: 0 / 288.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01536, allocations: 136.9 kB / 288.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.01579, allocations: 91.05 kB / 288.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.01804, allocations: 1.174 MB / 289.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.01811, allocations: 96.75 kB / 289.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.01821, allocations: 38.95 kB / 289.7 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.01839, allocations: 142.2 kB / 289.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01839, allocations: 0 / 289.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of Templates: time 0.006697/0.02509, allocations: 4.987 MB / 294.9 MB, free: 14.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.81062156194821]