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.001174/0.001174, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001323/0.001323, allocations: 174.2 kB / 25.33 MB, free: 9.461 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.9491/0.9491, allocations: 158.6 MB / 187.2 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.503e-06/1.503e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.495e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002764/0.002789, allocations: 2.464 MB / 253.5 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003976, allocations: 0.7725 MB / 254.3 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.004106, allocations: 7.938 kB / 254.3 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.004245, allocations: 43.52 kB / 254.3 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.004427, allocations: 115 kB / 254.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.004753, allocations: 131.8 kB / 254.6 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.005121, allocations: 493.8 kB / 255 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.005271, allocations: 49.14 kB / 255.1 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.005704, allocations: 267.5 kB / 255.3 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.005873, allocations: 171.6 kB / 255.5 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.005923, allocations: 36 kB / 255.5 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.005968, allocations: 40 kB / 255.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.006023, allocations: 87.72 kB / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.006116, allocations: 131.8 kB / 255.8 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.006414, allocations: 303 kB / 256.1 MB, free: 2.426 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006417, allocations: 0 / 256.1 MB, free: 2.426 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006418, allocations: 3.938 kB / 256.1 MB, free: 2.422 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006423, allocations: 0 / 256.1 MB, free: 2.422 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.0009076/0.007331, allocations: 0.683 MB / 256.8 MB, free: 1.703 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.007372, allocations: 15.98 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.007464, allocations: 52.75 kB / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.007734, allocations: 223.9 kB / 257.1 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.007855, allocations: 135.9 kB / 257.2 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.007907, allocations: 36.31 kB / 257.2 MB, free: 1.199 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.008347, allocations: 295.8 kB / 257.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.008362, allocations: 4 kB / 257.5 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.008387, allocations: 12 kB / 257.5 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.008397, allocations: 4 kB / 257.5 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.008649, allocations: 179.8 kB / 257.7 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.009508, allocations: 0.9009 MB / 258.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.0101, allocations: 253 kB / 258.9 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.01024, allocations: 115.5 kB / 259 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.01026, allocations: 19.92 kB / 259 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.01029, allocations: 45.31 kB / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.01029, allocations: 0 / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001516/0.01181, allocations: 1.365 MB / 260.4 MB, free: 13.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.01185, allocations: 110.8 kB / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01198, allocations: 249.5 kB / 260.8 MB, free: 13.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.01201, allocations: 29.7 kB / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.01209, allocations: 203.5 kB / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.01217, allocations: 142.8 kB / 261.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.01226, allocations: 83.83 kB / 261.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.01237, allocations: 0.5039 MB / 261.7 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.0125, allocations: 68.95 kB / 261.8 MB, free: 12.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01262, allocations: 123.1 kB / 261.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.01284, allocations: 197.8 kB / 262.1 MB, free: 11.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01284, allocations: 0 / 262.1 MB, free: 11.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003268/0.01316, allocations: 277.1 kB / 262.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01318, allocations: 4 kB / 262.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01319, allocations: 4 kB / 262.4 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.0132, allocations: 4 kB / 262.4 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.01352, allocations: 131.8 kB / 262.5 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01352, allocations: 0 / 262.5 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.01361, allocations: 23.98 kB / 262.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01363, allocations: 12 kB / 262.5 MB, free: 11.46 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.0001037/0.01373, allocations: 184.5 kB / 262.7 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.0138, allocations: 35.86 kB / 262.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.01384, allocations: 33.45 kB / 262.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.01384, allocations: 4 kB / 262.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01385, allocations: 3.938 kB / 262.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01385, allocations: 0 / 262.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.01487, allocations: 1.148 MB / 263.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01487, allocations: 0 / 263.9 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.01524, allocations: 139.8 kB / 264.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.01525, allocations: 4.188 kB / 264.1 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.01527, allocations: 19.98 kB / 264.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01527, allocations: 4 kB / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01527, allocations: 0 / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006271/0.0159, allocations: 0.7969 MB / 264.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.01599, allocations: 55.77 kB / 265 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.01602, allocations: 15.98 kB / 265 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.0162, allocations: 35.97 kB / 265 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.01628, allocations: 43.81 kB / 265.1 MB, free: 8.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.0163, allocations: 19.98 kB / 265.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.01638, allocations: 168.5 kB / 265.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01638, allocations: 0 / 265.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.01667, allocations: 84 kB / 265.3 MB, free: 8.539 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.0001018/0.01677, allocations: 103.2 kB / 265.4 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.01709, allocations: 235.8 kB / 265.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01709, allocations: 0 / 265.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.01751, allocations: 143.4 kB / 265.8 MB, free: 8.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.01797, allocations: 89.77 kB / 265.9 MB, free: 7.969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.0205, allocations: 1.185 MB / 267.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.02057, allocations: 92.81 kB / 267.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.02068, allocations: 38.95 kB / 267.2 MB, free: 6.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.02077, allocations: 40.48 kB / 267.2 MB, free: 6.531 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02077, allocations: 0 / 267.2 MB, free: 6.531 MB / 250.7 MB Notification: Performance of Templates: time 0.006514/0.02728, allocations: 4.744 MB / 272 MB, free: 1.816 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.8181189643219113]