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.001039/0.001039, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002629, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.00094/0.00094, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002323, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8249/0.8249, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/0.9766, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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 1.563e-06/1.563e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.415e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003612/0.003636, allocations: 2.498 MB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.005112, allocations: 0.7425 MB / 243 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.005289, allocations: 4.656 kB / 243 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.005419, allocations: 47.47 kB / 243 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.005673, allocations: 109.7 kB / 243.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.006023, allocations: 133.2 kB / 243.3 MB, free: 2.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.006506, allocations: 478 kB / 243.7 MB, free: 2.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.006663, allocations: 55.05 kB / 243.8 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.00707, allocations: 291.3 kB / 244.1 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.007318, allocations: 168.2 kB / 244.2 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.007386, allocations: 36 kB / 244.3 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.007452, allocations: 40.59 kB / 244.3 MB, free: 1.809 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.007522, allocations: 60.34 kB / 244.4 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.00764, allocations: 107.9 kB / 244.5 MB, free: 1.645 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.007994, allocations: 268.7 kB / 244.7 MB, free: 1.383 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.008007, allocations: 0 / 244.7 MB, free: 1.383 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008008, allocations: 0 / 244.7 MB, free: 1.383 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.00802, allocations: 0 / 244.7 MB, free: 1.383 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.001131/0.009152, allocations: 0.6205 MB / 245.3 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.009189, allocations: 12.72 kB / 245.4 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.009289, allocations: 48.89 kB / 245.4 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.00959, allocations: 182 kB / 245.6 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.009722, allocations: 136.5 kB / 245.7 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.009783, allocations: 32.33 kB / 245.8 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.01028, allocations: 281.8 kB / 246 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.01033, allocations: 8.172 kB / 246 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.01035, allocations: 8 kB / 246 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01036, allocations: 9.469 kB / 246.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.01064, allocations: 129.9 kB / 246.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01164, allocations: 0.6061 MB / 246.8 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.01198, allocations: 192.5 kB / 247 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.01213, allocations: 91.97 kB / 247.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.01216, allocations: 8 kB / 247.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.01219, allocations: 40.66 kB / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.434e-06/0.01219, allocations: 0 / 247.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001956/0.01415, allocations: 1.168 MB / 248.3 MB, free: 13.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.01419, allocations: 110.8 kB / 248.4 MB, free: 13.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01434, allocations: 183.1 kB / 248.6 MB, free: 13.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.01437, allocations: 33.7 kB / 248.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.01444, allocations: 144.7 kB / 248.7 MB, free: 13.03 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.01454, allocations: 142.8 kB / 248.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.01466, allocations: 74.14 kB / 249 MB, free: 12.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.01476, allocations: 338.7 kB / 249.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.0149, allocations: 48.97 kB / 249.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.01501, allocations: 94.09 kB / 249.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.01523, allocations: 164.1 kB / 249.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01523, allocations: 0 / 249.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003111/0.01554, allocations: 199.5 kB / 249.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.01556, allocations: 4 kB / 249.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01557, allocations: 0 / 249.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01559, allocations: 12.08 kB / 249.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.01616, allocations: 151.7 kB / 249.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01616, allocations: 4 kB / 249.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.01632, allocations: 23.98 kB / 250 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01634, allocations: 8 kB / 250 MB, free: 11.74 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.0001155/0.01645, allocations: 125.8 kB / 250.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.01655, allocations: 31.97 kB / 250.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.01661, allocations: 29.47 kB / 250.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.01661, allocations: 7.938 kB / 250.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01662, allocations: 3.984 kB / 250.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.01663, allocations: 3.984 kB / 250.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.01779, allocations: 0.8078 MB / 251 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.619e-06/0.0178, allocations: 4 kB / 251 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.01842, allocations: 164 kB / 251.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.01853, allocations: 35.84 kB / 251.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.01853, allocations: 0 / 251.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.01856, allocations: 12 kB / 251.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.01857, allocations: 8 kB / 251.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.01857, allocations: 7.922 kB / 251.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.01918, allocations: 0.5625 MB / 251.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.01922, allocations: 8 kB / 251.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.01953, allocations: 39.95 kB / 251.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.01962, allocations: 43.81 kB / 251.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.01964, allocations: 15.98 kB / 251.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.0197, allocations: 48.8 kB / 251.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0197, allocations: 0 / 251.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.02011, allocations: 84 kB / 252 MB, free: 9.594 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.0001434/0.02026, allocations: 94.17 kB / 252.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.02059, allocations: 170.8 kB / 252.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/0.02061, allocations: 4 kB / 252.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.02085, allocations: 154.3 kB / 252.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008415/0.02169, allocations: 0.7022 MB / 253.1 MB, free: 8.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.02955, allocations: 1.018 MB / 254.1 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.02966, allocations: 93.12 kB / 254.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.02988, allocations: 34.97 kB / 254.3 MB, free: 7.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.03016, allocations: 123.3 kB / 254.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of SimCode: time 1.823e-06/0.03016, allocations: 0 / 254.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of Templates: time 0.009761/0.03992, allocations: 5.032 MB / 259.4 MB, free: 2.059 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5290025044232607]