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.002312/0.002312, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.001922/0.001922, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.524/1.524, allocations: 173.3 MB / 200.8 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.905e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00408/0.004109, allocations: 2.437 MB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.005557, allocations: 0.7249 MB / 270.5 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.005676, allocations: 7.938 kB / 270.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.005834, allocations: 43.53 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.006068, allocations: 107.1 kB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.00646, allocations: 131.7 kB / 270.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.00702, allocations: 482 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.007195, allocations: 57.09 kB / 271.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.007602, allocations: 271.4 kB / 271.5 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.007871, allocations: 167.6 kB / 271.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.007947, allocations: 36 kB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.008025, allocations: 36 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.00813, allocations: 95.7 kB / 271.9 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.008309, allocations: 135.7 kB / 272 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.00889, allocations: 442.6 kB / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.008893, allocations: 0 / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008893, allocations: 0 / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.0089, allocations: 4 kB / 272.4 MB, free: 1.598 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.001607/0.01051, allocations: 0.6906 MB / 273.1 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.01054, allocations: 12.92 kB / 273.1 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01068, allocations: 60.75 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.01107, allocations: 215.9 kB / 273.4 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.01124, allocations: 143.9 kB / 273.5 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.01133, allocations: 28.31 kB / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.01228, allocations: 387.1 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.01231, allocations: 7.891 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.01235, allocations: 12 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01236, allocations: 4 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.01355, allocations: 359.7 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01517, allocations: 0.9982 MB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.01633, allocations: 401 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.01696, allocations: 210.9 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.01699, allocations: 4.438 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.01704, allocations: 41.39 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.953e-06/0.01704, allocations: 3.938 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.005033/0.02207, allocations: 1.856 MB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.02217, allocations: 118.7 kB / 277.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.02246, allocations: 265.6 kB / 278.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.0225, allocations: 29.7 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02266, allocations: 203.4 kB / 278.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.02282, allocations: 150.8 kB / 278.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.02299, allocations: 91.8 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003143/0.0233, allocations: 0.5235 MB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.02357, allocations: 92.95 kB / 279.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.02392, allocations: 183 kB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.02456, allocations: 301.1 kB / 279.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02457, allocations: 0 / 279.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008504/0.02542, allocations: 356.2 kB / 280.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.02544, allocations: 8 kB / 280.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.02545, allocations: 0 / 280.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.02547, allocations: 4 kB / 280.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.02615, allocations: 131.8 kB / 280.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.02616, allocations: 4 kB / 280.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.02637, allocations: 16 kB / 280.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.0264, allocations: 20 kB / 280.3 MB, free: 9.242 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 0.0002341/0.02663, allocations: 192.5 kB / 280.5 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.02676, allocations: 35.86 kB / 280.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.02685, allocations: 29.47 kB / 280.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.02686, allocations: 7.984 kB / 280.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.02687, allocations: 3.938 kB / 280.5 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.02688, allocations: 4 kB / 280.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.02961, allocations: 1.382 MB / 281.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.02962, allocations: 4 kB / 281.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/0.03044, allocations: 148 kB / 282.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.03045, allocations: 4 kB / 282.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.03049, allocations: 8 kB / 282.1 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.03049, allocations: 4 kB / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.0305, allocations: 4 kB / 282.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.03281, allocations: 1.087 MB / 283.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.03298, allocations: 51.81 kB / 283.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.03304, allocations: 15.98 kB / 283.3 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.03343, allocations: 35.97 kB / 283.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.03355, allocations: 47.8 kB / 283.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.03358, allocations: 12 kB / 283.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.03377, allocations: 187.2 kB / 283.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03377, allocations: 0 / 283.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000491/0.03426, allocations: 84 kB / 283.6 MB, free: 5.758 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.0001605/0.03442, allocations: 107.2 kB / 283.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.03546, allocations: 360.1 kB / 284.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.03546, allocations: 4.188 kB / 284.1 MB, free: 5.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.03616, allocations: 243.3 kB / 284.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.03693, allocations: 81 kB / 284.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.04174, allocations: 1.253 MB / 285.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.04195, allocations: 160 kB / 285.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.04214, allocations: 38.95 kB / 285.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.04228, allocations: 44.48 kB / 285.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.04228, allocations: 0 / 285.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of Templates: time 0.1104/0.1526, allocations: 4.463 MB / 290.3 MB, free: 32.52 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.486778163001873]