Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001227/0.001227, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001537/0.001537, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9393/0.9393, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.566e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002819/0.002844, allocations: 2.467 MB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003998, allocations: 0.7521 MB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004114, allocations: 11.94 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004232, allocations: 47.58 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.004398, allocations: 111 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.004722, allocations: 131.7 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.005076, allocations: 474 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.005219, allocations: 57.12 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.005482, allocations: 275.4 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.005648, allocations: 167.6 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.005694, allocations: 40 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.005742, allocations: 36 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.0058, allocations: 87.72 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.005896, allocations: 131.7 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.006181, allocations: 307 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006183, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.006185, allocations: 3.984 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.00619, allocations: 0 / 278 MB, free: 12.46 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.0009221/0.007112, allocations: 0.6714 MB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.007147, allocations: 15.97 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.007236, allocations: 56.75 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.007484, allocations: 216.1 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.007593, allocations: 135.9 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.007638, allocations: 28.33 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.008056, allocations: 307.8 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.008072, allocations: 4 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.008096, allocations: 15.94 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.008106, allocations: 8 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.008367, allocations: 167.8 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.009228, allocations: 0.9084 MB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.00954, allocations: 261.2 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.009689, allocations: 123 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.009711, allocations: 8 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.009734, allocations: 41.39 kB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.009737, allocations: 4.422 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001509/0.01125, allocations: 1.377 MB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.01129, allocations: 110.8 kB / 282.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01142, allocations: 237.6 kB / 282.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01144, allocations: 37.7 kB / 282.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.01153, allocations: 195.5 kB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.01161, allocations: 154.6 kB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.0117, allocations: 75.84 kB / 283.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01183, allocations: 0.5079 MB / 283.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01197, allocations: 68.94 kB / 283.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.01209, allocations: 123.1 kB / 283.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01231, allocations: 201.2 kB / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01231, allocations: 0 / 284 MB, free: 5.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003104/0.01262, allocations: 272.6 kB / 284.3 MB, free: 5.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01263, allocations: 4 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01264, allocations: 4 kB / 284.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01265, allocations: 4.094 kB / 284.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.01295, allocations: 123.8 kB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01296, allocations: 7.984 kB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.01304, allocations: 16 kB / 284.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01306, allocations: 16 kB / 284.5 MB, free: 5.504 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.331e-05/0.01315, allocations: 180.4 kB / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.01322, allocations: 39.81 kB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.01325, allocations: 29.47 kB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01326, allocations: 8 kB / 284.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01326, allocations: 3.938 kB / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01327, allocations: 3.984 kB / 284.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.0143, allocations: 1.136 MB / 285.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.0143, allocations: 4 kB / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.01466, allocations: 144 kB / 286 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.01466, allocations: 4 kB / 286 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.01468, allocations: 19.88 kB / 286 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.01469, allocations: 7.984 kB / 286 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01469, allocations: 4 kB / 286 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.01539, allocations: 0.8125 MB / 286.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.01546, allocations: 47.81 kB / 286.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.01549, allocations: 8 kB / 286.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.01568, allocations: 31.97 kB / 286.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.01575, allocations: 47.86 kB / 287 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.01577, allocations: 12 kB / 287 MB, free: 2.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.01584, allocations: 180.4 kB / 287.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01584, allocations: 0 / 287.2 MB, free: 2.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.01614, allocations: 80 kB / 287.3 MB, free: 2.566 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.205e-05/0.01623, allocations: 113.8 kB / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.01654, allocations: 220.1 kB / 287.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01654, allocations: 0 / 287.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.01671, allocations: 151.9 kB / 287.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.01715, allocations: 88.64 kB / 287.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.01993, allocations: 1.186 MB / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.02001, allocations: 92.81 kB / 289.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.02015, allocations: 34.97 kB / 289.1 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.02025, allocations: 40.48 kB / 289.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.02025, allocations: 0 / 289.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of Templates: time 0.006675/0.02692, allocations: 4.464 MB / 293.6 MB, free: 12.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9583631372079253]