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.0009647/0.0009647, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001041/0.001041, allocations: 167.1 kB / 25.7 MB, free: 8.445 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.9142/0.9142, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.743e-06/1.743e-06, allocations: 3.938 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.171e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003025/0.003047, allocations: 2.492 MB / 254 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.00429, allocations: 0.784 MB / 254.8 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004403, allocations: 7.938 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.004525, allocations: 43.53 kB / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004698, allocations: 111 kB / 255 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.004977, allocations: 135.7 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.005316, allocations: 489.9 kB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.005455, allocations: 59.09 kB / 255.7 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.005717, allocations: 267.5 kB / 255.9 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.005887, allocations: 163.6 kB / 256.1 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.005931, allocations: 36 kB / 256.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.005969, allocations: 40 kB / 256.2 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.006025, allocations: 91.7 kB / 256.2 MB, free: 2.516 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.00611, allocations: 135.7 kB / 256.4 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.006382, allocations: 307 kB / 256.7 MB, free: 2.082 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.006387, allocations: 0 / 256.7 MB, free: 2.082 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006389, allocations: 0 / 256.7 MB, free: 2.082 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.006395, allocations: 0 / 256.7 MB, free: 2.082 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.0007976/0.007192, allocations: 0.5506 MB / 257.2 MB, free: 1.504 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.007229, allocations: 15.98 kB / 257.2 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.007298, allocations: 48.89 kB / 257.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.007539, allocations: 185.1 kB / 257.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.007645, allocations: 135.8 kB / 257.6 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.007682, allocations: 32.3 kB / 257.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.008058, allocations: 283.3 kB / 257.9 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.008074, allocations: 3.953 kB / 257.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.008094, allocations: 12 kB / 257.9 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.008104, allocations: 8 kB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.008271, allocations: 115.9 kB / 258 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.009012, allocations: 0.6172 MB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.00925, allocations: 199.6 kB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.009339, allocations: 78.56 kB / 258.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.009357, allocations: 8 kB / 258.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.009382, allocations: 38.56 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.009384, allocations: 0 / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.00127/0.01065, allocations: 1.152 MB / 260.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.01071, allocations: 114.8 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.01082, allocations: 186.2 kB / 260.4 MB, free: 13.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01084, allocations: 29.7 kB / 260.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.0109, allocations: 148.6 kB / 260.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.01098, allocations: 146.7 kB / 260.7 MB, free: 13.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.01106, allocations: 70.14 kB / 260.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.01115, allocations: 342.8 kB / 261.1 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.01124, allocations: 52.97 kB / 261.2 MB, free: 13.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.01132, allocations: 94.09 kB / 261.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01147, allocations: 156.5 kB / 261.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01147, allocations: 0 / 261.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002105/0.01168, allocations: 193.2 kB / 261.6 MB, free: 12.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01169, allocations: 8.094 kB / 261.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.0117, allocations: 4 kB / 261.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01171, allocations: 0 / 261.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.01204, allocations: 147.6 kB / 261.8 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01204, allocations: 4 kB / 261.8 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.01213, allocations: 19.98 kB / 261.8 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01214, allocations: 15.98 kB / 261.8 MB, free: 12.51 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 8.039e-05/0.01222, allocations: 125.8 kB / 262 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.01228, allocations: 31.97 kB / 262 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.01232, allocations: 37.39 kB / 262 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01232, allocations: 4 kB / 262 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01232, allocations: 7.938 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01233, allocations: 4 kB / 262 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.01308, allocations: 0.7922 MB / 262.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01308, allocations: 0 / 262.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.01346, allocations: 156 kB / 263 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.01347, allocations: 7.984 kB / 263 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.01349, allocations: 12 kB / 263 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01349, allocations: 4 kB / 263 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01349, allocations: 4 kB / 263 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.01394, allocations: 0.5692 MB / 263.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.01401, allocations: 27.84 kB / 263.6 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.01403, allocations: 8 kB / 263.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01421, allocations: 31.97 kB / 263.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.01429, allocations: 51.8 kB / 263.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.0143, allocations: 8 kB / 263.7 MB, free: 10.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.01435, allocations: 62.11 kB / 263.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01435, allocations: 0 / 263.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.0146, allocations: 80 kB / 263.8 MB, free: 10.39 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.000106/0.01471, allocations: 88.36 kB / 263.9 MB, free: 10.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.01492, allocations: 169.6 kB / 264.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.01493, allocations: 0 / 264.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.01509, allocations: 125.8 kB / 264.2 MB, free: 10 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.01549, allocations: 85.23 kB / 264.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.01759, allocations: 1.049 MB / 265.3 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.274e-05/0.01765, allocations: 97.06 kB / 265.4 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.01776, allocations: 42.95 kB / 265.5 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.01793, allocations: 119.3 kB / 265.6 MB, free: 8.543 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01793, allocations: 0 / 265.6 MB, free: 8.543 MB / 250.7 MB Notification: Performance of Templates: time 0.006875/0.02481, allocations: 4.982 MB / 270.6 MB, free: 3.586 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 -s gbode -gbm=radauIIA3 -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.6565655609592795]