Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000797/0.000797, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001873, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006909/0.0006909, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009527/0.001644, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9162/0.9162, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09816/1.014, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.597e-05, allocations: 5.828 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002386/0.002402, allocations: 2.513 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003505, allocations: 0.7829 MB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003605, allocations: 11.94 kB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.847e-05/0.003674, allocations: 39.59 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.003833, allocations: 115 kB / 248.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.004073, allocations: 131.7 kB / 248.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.004419, allocations: 478 kB / 248.8 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004528, allocations: 63.09 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.004806, allocations: 283.5 kB / 249.1 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.00497, allocations: 171.6 kB / 249.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.005015, allocations: 40 kB / 249.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.005057, allocations: 39.94 kB / 249.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.005101, allocations: 59.81 kB / 249.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.005175, allocations: 103.8 kB / 249.5 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005406, allocations: 259.2 kB / 249.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.005415, allocations: 3.938 kB / 249.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005416, allocations: 0 / 249.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.005425, allocations: 4 kB / 249.8 MB, free: 9.16 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.0007098/0.006135, allocations: 0.6128 MB / 250.4 MB, free: 8.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.358e-05/0.006158, allocations: 8.031 kB / 250.4 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.006218, allocations: 48.89 kB / 250.4 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.00641, allocations: 185.8 kB / 250.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.00649, allocations: 139.9 kB / 250.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.00653, allocations: 28.36 kB / 250.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.006828, allocations: 275.3 kB / 251 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.006842, allocations: 15.89 kB / 251.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.00686, allocations: 8 kB / 251.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.006865, allocations: 4 kB / 251.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.007017, allocations: 118.7 kB / 251.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.00759, allocations: 0.6171 MB / 251.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.007795, allocations: 191.8 kB / 252 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.007881, allocations: 86.98 kB / 252.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.007894, allocations: 7.938 kB / 252.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.007914, allocations: 42.5 kB / 252.1 MB, free: 6.637 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.007915, allocations: 0 / 252.1 MB, free: 6.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001119/0.009034, allocations: 1.172 MB / 253.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.009069, allocations: 114.8 kB / 253.4 MB, free: 5.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.009159, allocations: 182.8 kB / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.009179, allocations: 33.7 kB / 253.6 MB, free: 4.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.009229, allocations: 144.7 kB / 253.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.009299, allocations: 146.7 kB / 253.9 MB, free: 4.656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.009369, allocations: 74.09 kB / 254 MB, free: 4.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.009443, allocations: 346.8 kB / 254.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.009519, allocations: 44.97 kB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.009589, allocations: 98.03 kB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.009718, allocations: 164.7 kB / 254.6 MB, free: 3.898 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.00972, allocations: 4 kB / 254.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001766/0.009897, allocations: 185.3 kB / 254.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.009906, allocations: 4 kB / 254.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.00991, allocations: 4 kB / 254.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00992, allocations: 7.984 kB / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.01023, allocations: 151.8 kB / 255 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.01023, allocations: 4 kB / 255 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.01031, allocations: 23.98 kB / 255 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.01032, allocations: 4 kB / 255 MB, free: 3.516 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 7.408e-05/0.01039, allocations: 133.7 kB / 255.1 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.01045, allocations: 31.97 kB / 255.2 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.01048, allocations: 29.47 kB / 255.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01048, allocations: 4 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01049, allocations: 7.938 kB / 255.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01049, allocations: 3.984 kB / 255.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.01118, allocations: 0.8046 MB / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01119, allocations: 0 / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.01155, allocations: 173.3 kB / 256.2 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.01161, allocations: 35.84 kB / 256.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.01161, allocations: 4 kB / 256.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01163, allocations: 8 kB / 256.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01163, allocations: 4 kB / 256.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01164, allocations: 7.938 kB / 256.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.01202, allocations: 0.5653 MB / 256.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01205, allocations: 12.06 kB / 256.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.01221, allocations: 35.95 kB / 256.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.01227, allocations: 39.88 kB / 256.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01228, allocations: 12 kB / 256.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.01232, allocations: 58.11 kB / 256.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01232, allocations: 0 / 256.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01256, allocations: 76 kB / 257 MB, free: 1.375 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 8.307e-05/0.01264, allocations: 96.36 kB / 257.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.01283, allocations: 184.9 kB / 257.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.01284, allocations: 8 kB / 257.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.01298, allocations: 141.3 kB / 257.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.0135, allocations: 0.7112 MB / 258.2 MB, free: 88 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.01812, allocations: 0.9985 MB / 259.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.997e-05/0.01818, allocations: 93.12 kB / 259.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01828, allocations: 38.97 kB / 259.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.01846, allocations: 119.3 kB / 259.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01846, allocations: 4 kB / 259.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Templates: time 0.00631/0.02477, allocations: 5.041 MB / 264.4 MB, free: 9.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.340160467661917]