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.001893/0.001893, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001913/0.001913, allocations: 167.1 kB / 25.03 MB, free: 8.922 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 1.359/1.359, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.623e-06/1.623e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.745e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004208/0.004236, allocations: 2.422 MB / 252.8 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005786, allocations: 0.7686 MB / 253.5 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.005928, allocations: 7.938 kB / 253.6 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.006101, allocations: 47.52 kB / 253.6 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.006343, allocations: 111 kB / 253.7 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.006729, allocations: 139.6 kB / 253.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.007287, allocations: 482 kB / 254.3 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.007466, allocations: 61.03 kB / 254.4 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.007858, allocations: 263.6 kB / 254.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.008131, allocations: 171.6 kB / 254.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.008202, allocations: 36 kB / 254.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.008281, allocations: 39.94 kB / 254.9 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.008386, allocations: 83.78 kB / 255 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.00857, allocations: 139.6 kB / 255.1 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.009401, allocations: 442.7 kB / 255.5 MB, free: 2.629 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.009405, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.009407, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.009416, allocations: 3.938 kB / 255.5 MB, free: 2.617 MB / 234.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.001609/0.01103, allocations: 0.6828 MB / 256.2 MB, free: 1.898 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01106, allocations: 15.98 kB / 256.2 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.0112, allocations: 60.69 kB / 256.3 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.01161, allocations: 219.9 kB / 256.5 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.01179, allocations: 143.8 kB / 256.6 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.01186, allocations: 28.33 kB / 256.7 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.01283, allocations: 387.1 kB / 257.1 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.01285, allocations: 3.984 kB / 257.1 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.01289, allocations: 12 kB / 257.1 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.0129, allocations: 4 kB / 257.1 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.01408, allocations: 359.7 kB / 257.4 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.01566, allocations: 0.9983 MB / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.01675, allocations: 393 kB / 258.8 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.01737, allocations: 215.4 kB / 259 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.01741, allocations: 7.938 kB / 259 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.01745, allocations: 45.33 kB / 259.1 MB, free: 14.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.01745, allocations: 0 / 259.1 MB, free: 14.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.004892/0.02235, allocations: 1.857 MB / 260.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.02245, allocations: 114.7 kB / 261 MB, free: 12.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.02274, allocations: 265.6 kB / 261.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.02278, allocations: 29.7 kB / 261.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.02294, allocations: 203.4 kB / 261.5 MB, free: 12.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.02309, allocations: 154.8 kB / 261.7 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.02325, allocations: 83.84 kB / 261.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.02356, allocations: 0.5157 MB / 262.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.02407, allocations: 101 kB / 262.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.02442, allocations: 183 kB / 262.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.02504, allocations: 301.3 kB / 262.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02504, allocations: 0 / 262.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008193/0.02586, allocations: 357.2 kB / 263.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.02588, allocations: 11.98 kB / 263.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.02589, allocations: 0 / 263.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.02591, allocations: 4 kB / 263.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.02655, allocations: 127.9 kB / 263.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.02657, allocations: 8 kB / 263.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.02677, allocations: 19.98 kB / 263.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.02679, allocations: 12 kB / 263.4 MB, free: 10.26 MB / 250.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.0002093/0.027, allocations: 196.5 kB / 263.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.02712, allocations: 39.8 kB / 263.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.0272, allocations: 29.47 kB / 263.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.02721, allocations: 4 kB / 263.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.02722, allocations: 3.938 kB / 263.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.02723, allocations: 7.984 kB / 263.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.02982, allocations: 1.362 MB / 265 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.02983, allocations: 4 kB / 265 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.03062, allocations: 144 kB / 265.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.03063, allocations: 4 kB / 265.2 MB, free: 8.375 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.03066, allocations: 11.98 kB / 265.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.03067, allocations: 4 kB / 265.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.03068, allocations: 7.938 kB / 265.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.03288, allocations: 1.09 MB / 266.3 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.03304, allocations: 55.77 kB / 266.3 MB, free: 7.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.03309, allocations: 15.98 kB / 266.3 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.03347, allocations: 35.97 kB / 266.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.03359, allocations: 43.88 kB / 266.4 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.03363, allocations: 15.98 kB / 266.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.0338, allocations: 188.5 kB / 266.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0338, allocations: 0 / 266.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004777/0.03427, allocations: 80 kB / 266.7 MB, free: 6.789 MB / 250.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.0001754/0.03445, allocations: 107.2 kB / 266.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.03549, allocations: 367.1 kB / 267.2 MB, free: 6.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.0355, allocations: 4 kB / 267.2 MB, free: 6.312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.03615, allocations: 239.9 kB / 267.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.03689, allocations: 93 kB / 267.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.04163, allocations: 1.255 MB / 268.7 MB, free: 4.668 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.04184, allocations: 160 kB / 268.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.04201, allocations: 34.97 kB / 268.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.04215, allocations: 36.48 kB / 269 MB, free: 4.418 MB / 250.7 MB Notification: Performance of SimCode: time 1.403e-06/0.04216, allocations: 0 / 269 MB, free: 4.418 MB / 250.7 MB Notification: Performance of Templates: time 0.01046/0.05261, allocations: 4.463 MB / 273.4 MB, free: 15.98 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] 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.434487827005796]