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.001154/0.001154, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.0009936/0.0009936, allocations: 163.3 kB / 25.7 MB, free: 8.438 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.8832/0.8832, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.673e-06/1.673e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.838e-05, allocations: 2.312 kB / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003496/0.003515, allocations: 2.437 MB / 253.9 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.005184, allocations: 0.7918 MB / 254.7 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.005345, allocations: 7.938 kB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.005508, allocations: 35.59 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.005809, allocations: 119 kB / 254.9 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.006226, allocations: 127.7 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.006714, allocations: 493.9 kB / 255.5 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.006877, allocations: 55.11 kB / 255.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.007257, allocations: 271.4 kB / 255.8 MB, free: 2.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.007498, allocations: 167.6 kB / 256 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.007563, allocations: 40 kB / 256 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.007621, allocations: 36 kB / 256.1 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.007701, allocations: 91.7 kB / 256.2 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.007835, allocations: 131.7 kB / 256.3 MB, free: 2.488 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.008186, allocations: 311 kB / 256.6 MB, free: 2.184 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.008189, allocations: 4 kB / 256.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00819, allocations: 0 / 256.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.008195, allocations: 0 / 256.6 MB, free: 2.18 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.001071/0.009266, allocations: 0.5467 MB / 257.1 MB, free: 1.605 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.009302, allocations: 15.98 kB / 257.2 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.009401, allocations: 48.89 kB / 257.2 MB, free: 1.543 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.009683, allocations: 185.1 kB / 257.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.009811, allocations: 135.8 kB / 257.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.00987, allocations: 28.38 kB / 257.5 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.01035, allocations: 283.2 kB / 257.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.01037, allocations: 11.94 kB / 257.8 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.0104, allocations: 8 kB / 257.8 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.01041, allocations: 8 kB / 257.8 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.01066, allocations: 111.9 kB / 258 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.01159, allocations: 0.6171 MB / 258.6 MB, free: 80 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.01193, allocations: 203.7 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.01206, allocations: 79 kB / 258.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.01208, allocations: 11.94 kB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.01212, allocations: 42.5 kB / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.01212, allocations: 0 / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001793/0.01391, allocations: 1.152 MB / 260.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.01397, allocations: 106.8 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01411, allocations: 186.2 kB / 260.3 MB, free: 14.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.01414, allocations: 37.7 kB / 260.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.01422, allocations: 144.7 kB / 260.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.01433, allocations: 142.7 kB / 260.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.01445, allocations: 78.14 kB / 260.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01456, allocations: 338.8 kB / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.0147, allocations: 52.91 kB / 261.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01482, allocations: 94.09 kB / 261.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.01502, allocations: 154.4 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01502, allocations: 0 / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002879/0.01531, allocations: 193.1 kB / 261.5 MB, free: 12.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01533, allocations: 4 kB / 261.5 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01533, allocations: 4 kB / 261.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01535, allocations: 4.094 kB / 261.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.01575, allocations: 123.8 kB / 261.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.01576, allocations: 4 kB / 261.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01591, allocations: 27.92 kB / 261.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01592, allocations: 8 kB / 261.7 MB, free: 12.63 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.000121/0.01605, allocations: 133.7 kB / 261.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.01616, allocations: 31.97 kB / 261.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.01621, allocations: 29.47 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01622, allocations: 4 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.01622, allocations: 7.984 kB / 261.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.01623, allocations: 3.938 kB / 261.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.01735, allocations: 0.7922 MB / 262.7 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.01735, allocations: 0 / 262.7 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.01788, allocations: 148 kB / 262.9 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.01789, allocations: 4 kB / 262.9 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.01792, allocations: 11.98 kB / 262.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.01793, allocations: 4 kB / 262.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.01794, allocations: 7.938 kB / 262.9 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.01859, allocations: 0.5575 MB / 263.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.01868, allocations: 31.83 kB / 263.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.01873, allocations: 15.98 kB / 263.5 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.01902, allocations: 35.97 kB / 263.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.01911, allocations: 39.88 kB / 263.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.01914, allocations: 15.98 kB / 263.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.727e-05/0.0192, allocations: 46.12 kB / 263.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0192, allocations: 0 / 263.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.01965, allocations: 84 kB / 263.7 MB, free: 10.53 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.0001344/0.01978, allocations: 88.36 kB / 263.8 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.0201, allocations: 177.5 kB / 264 MB, free: 10.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.02011, allocations: 4 kB / 264 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.02028, allocations: 118.2 kB / 264.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.0209, allocations: 90.88 kB / 264.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.02405, allocations: 1.048 MB / 265.2 MB, free: 8.953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.02415, allocations: 92.81 kB / 265.3 MB, free: 8.844 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.02431, allocations: 42.94 kB / 265.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.02456, allocations: 119.3 kB / 265.5 MB, free: 8.68 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02456, allocations: 0 / 265.5 MB, free: 8.68 MB / 250.7 MB Notification: Performance of Templates: time 0.009223/0.03378, allocations: 4.862 MB / 270.3 MB, free: 3.84 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.6658058878965676]