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.000981/0.000981, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00102/0.00102, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.9798/0.9798, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.933e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003373/0.003402, allocations: 2.453 MB / 253.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.004362, allocations: 0.7764 MB / 254.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.004452, allocations: 7.938 kB / 254.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.004565, allocations: 39.53 kB / 254.4 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.004701, allocations: 103.1 kB / 254.5 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.004939, allocations: 143.6 kB / 254.6 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.005237, allocations: 485.9 kB / 255.1 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.00536, allocations: 53.14 kB / 255.1 MB, free: 3.746 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.005573, allocations: 271.4 kB / 255.4 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.005718, allocations: 167.6 kB / 255.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.005761, allocations: 36 kB / 255.6 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.005798, allocations: 40 kB / 255.6 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.005853, allocations: 91.77 kB / 255.7 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.005954, allocations: 127.7 kB / 255.9 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.006214, allocations: 303 kB / 256.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006217, allocations: 4 kB / 256.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.006219, allocations: 4 kB / 256.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.006223, allocations: 0 / 256.2 MB, free: 2.719 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.0008342/0.007058, allocations: 0.6869 MB / 256.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.007092, allocations: 11.98 kB / 256.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.007175, allocations: 56.75 kB / 256.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.007419, allocations: 216 kB / 257.1 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.007521, allocations: 135.9 kB / 257.3 MB, free: 1.535 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.007564, allocations: 36.27 kB / 257.3 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.007969, allocations: 303.8 kB / 257.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.007984, allocations: 0 / 257.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.008012, allocations: 12 kB / 257.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.008022, allocations: 7.984 kB / 257.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.008284, allocations: 171.8 kB / 257.8 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.009111, allocations: 0.9008 MB / 258.7 MB, free: 48 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.009428, allocations: 257.1 kB / 258.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.009571, allocations: 119.4 kB / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.009589, allocations: 11.94 kB / 259.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.009611, allocations: 41.38 kB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.009613, allocations: 0 / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001611/0.01122, allocations: 1.383 MB / 260.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.01127, allocations: 110.8 kB / 260.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.01155, allocations: 249.5 kB / 260.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.01157, allocations: 29.7 kB / 260.9 MB, free: 13.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.01166, allocations: 195.5 kB / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.01173, allocations: 142.8 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.01182, allocations: 79.83 kB / 261.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.01194, allocations: 0.504 MB / 261.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.01208, allocations: 72.95 kB / 261.8 MB, free: 12.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.0122, allocations: 131 kB / 262 MB, free: 12.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01242, allocations: 189.8 kB / 262.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01242, allocations: 0 / 262.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003143/0.01273, allocations: 267.3 kB / 262.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01274, allocations: 12 kB / 262.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01275, allocations: 0 / 262.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01276, allocations: 4 kB / 262.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.01308, allocations: 131.7 kB / 262.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01308, allocations: 4 kB / 262.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.01317, allocations: 23.98 kB / 262.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.01319, allocations: 12 kB / 262.6 MB, free: 11.76 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.0001001/0.01329, allocations: 176.5 kB / 262.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.01335, allocations: 39.86 kB / 262.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.01339, allocations: 29.45 kB / 262.8 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0134, allocations: 4 kB / 262.8 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.0134, allocations: 7.938 kB / 262.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01341, allocations: 3.984 kB / 262.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.01438, allocations: 1.145 MB / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01438, allocations: 4 kB / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.01476, allocations: 144 kB / 264.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01476, allocations: 4 kB / 264.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.01478, allocations: 8 kB / 264.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01479, allocations: 4 kB / 264.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01479, allocations: 4 kB / 264.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.01568, allocations: 0.801 MB / 265 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.01576, allocations: 55.77 kB / 265 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.01579, allocations: 12 kB / 265 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.01598, allocations: 31.97 kB / 265.1 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.01606, allocations: 47.8 kB / 265.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01607, allocations: 16 kB / 265.1 MB, free: 9.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.01615, allocations: 176.5 kB / 265.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01615, allocations: 0 / 265.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00027/0.01642, allocations: 80 kB / 265.4 MB, free: 8.84 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.0001035/0.01652, allocations: 103.2 kB / 265.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.01682, allocations: 235.8 kB / 265.7 MB, free: 8.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01683, allocations: 4 kB / 265.7 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.01699, allocations: 147.7 kB / 265.9 MB, free: 8.348 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.01743, allocations: 85.22 kB / 265.9 MB, free: 8.266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.01987, allocations: 1.178 MB / 267.1 MB, free: 7.027 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.864e-05/0.01994, allocations: 96.81 kB / 267.2 MB, free: 6.914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.824e-05/0.02004, allocations: 38.95 kB / 267.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.02013, allocations: 40.44 kB / 267.3 MB, free: 6.832 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02013, allocations: 0 / 267.3 MB, free: 6.832 MB / 250.7 MB Notification: Performance of Templates: time 0.005936/0.02606, allocations: 4.469 MB / 271.8 MB, free: 2.391 MB / 250.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","",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.775033192941919]