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.001016/0.001016, allocations: 82.95 kB / 21.42 MB, free: 3.078 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.001171/0.001171, allocations: 153.4 kB / 24.81 MB, free: 8.785 MB / 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.009/1.009, allocations: 173.4 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] 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 2.194e-06/2.194e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.162e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003257/0.003278, allocations: 2.441 MB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.004363, allocations: 0.7249 MB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004486, allocations: 11.94 kB / 271.6 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.004639, allocations: 39.58 kB / 271.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.004823, allocations: 115 kB / 271.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005116, allocations: 135.7 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.005452, allocations: 478 kB / 272.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.005606, allocations: 57.12 kB / 272.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.005869, allocations: 271.4 kB / 272.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.006038, allocations: 163.6 kB / 272.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.006083, allocations: 44 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.006127, allocations: 36 kB / 272.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.006182, allocations: 87.72 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.006273, allocations: 139.7 kB / 273.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.006527, allocations: 303 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006529, allocations: 0 / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00653, allocations: 0 / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.006533, allocations: 0 / 273.4 MB, free: 1.152 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.0007679/0.007301, allocations: 0.6753 MB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007335, allocations: 8.922 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.00741, allocations: 64.7 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.007636, allocations: 219.9 kB / 274.4 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.007749, allocations: 135.9 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.00779, allocations: 32.34 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.008135, allocations: 279.7 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.008151, allocations: 7.953 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.008169, allocations: 8 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.008178, allocations: 8 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.008354, allocations: 142.7 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.009117, allocations: 0.8776 MB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.009618, allocations: 233.2 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.009723, allocations: 106.9 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.009743, allocations: 8 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.009764, allocations: 45.39 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/0.009766, allocations: 0 / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001282/0.01105, allocations: 1.21 MB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.01109, allocations: 106.8 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.01121, allocations: 245.6 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.01123, allocations: 29.7 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.0113, allocations: 195.5 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.01137, allocations: 146.7 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.01145, allocations: 83.8 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01157, allocations: 0.504 MB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.963e-05/0.01167, allocations: 52.95 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.01176, allocations: 119 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.01191, allocations: 181.5 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01192, allocations: 3.938 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002362/0.01215, allocations: 240.1 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01216, allocations: 10.97 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01217, allocations: 0 / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01218, allocations: 4 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.01246, allocations: 127.9 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01246, allocations: 7.938 kB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.01254, allocations: 23.98 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01256, allocations: 12 kB / 279.5 MB, free: 10.57 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 8.448e-05/0.01264, allocations: 176.4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.0127, allocations: 47.84 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.01274, allocations: 33.45 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01274, allocations: 4 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01275, allocations: 0 / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01275, allocations: 3.938 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.01358, allocations: 1.078 MB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.01359, allocations: 4 kB / 280.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.01393, allocations: 139.8 kB / 281 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01394, allocations: 4 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01395, allocations: 12.17 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01396, allocations: 11.94 kB / 281 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.01396, allocations: 4 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.01443, allocations: 0.756 MB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.01451, allocations: 55.77 kB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01453, allocations: 15.98 kB / 281.8 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.01471, allocations: 35.97 kB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.01477, allocations: 47.81 kB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.01479, allocations: 11.98 kB / 281.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.01484, allocations: 167.1 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01484, allocations: 0 / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.01509, allocations: 80 kB / 282.2 MB, free: 7.75 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 9.621e-05/0.01519, allocations: 107.1 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.01541, allocations: 197.4 kB / 282.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01541, allocations: 0 / 282.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01555, allocations: 131.4 kB / 282.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.01596, allocations: 93.62 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.01842, allocations: 1.178 MB / 283.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.01849, allocations: 92.81 kB / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.01858, allocations: 34.97 kB / 284 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.01876, allocations: 146.1 kB / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01876, allocations: 0 / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of Templates: time 0.006224/0.02499, allocations: 4.866 MB / 289 MB, free: 0.8984 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","",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.7603493607603014]