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.0009655/0.0009655, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001531/0.001531, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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 0.9222/0.9222, allocations: 173.3 MB / 201.2 MB, free: 9.32 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 1.503e-06/1.503e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.863e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002818/0.002847, allocations: 2.472 MB / 270.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004038, allocations: 0.7288 MB / 271.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004164, allocations: 7.938 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.004297, allocations: 39.58 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.004481, allocations: 119 kB / 271.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.004848, allocations: 131.7 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.00523, allocations: 478 kB / 271.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.005389, allocations: 57.12 kB / 272 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.005664, allocations: 267.5 kB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.005841, allocations: 163.6 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.005889, allocations: 40 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.005933, allocations: 36 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.005995, allocations: 91.72 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.006096, allocations: 143.6 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.006369, allocations: 299 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.006372, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006374, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.006379, allocations: 3.938 kB / 273 MB, free: 1.371 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.0009773/0.007356, allocations: 0.6715 MB / 273.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.007401, allocations: 8.922 kB / 273.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.007495, allocations: 60.7 kB / 273.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.007779, allocations: 223.9 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.007894, allocations: 131.9 kB / 274.1 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.007944, allocations: 28.38 kB / 274.1 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.008399, allocations: 307.8 kB / 274.4 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.008416, allocations: 7.953 kB / 274.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.008441, allocations: 8 kB / 274.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.00845, allocations: 8 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.008705, allocations: 174.6 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.009597, allocations: 0.9045 MB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.009926, allocations: 261.2 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.01007, allocations: 115 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01009, allocations: 12 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01012, allocations: 41.33 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.01012, allocations: 0 / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001565/0.01168, allocations: 1.376 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.01173, allocations: 114.7 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.01186, allocations: 241.6 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01188, allocations: 33.7 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.01196, allocations: 199.4 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.01204, allocations: 150.7 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.01213, allocations: 79.83 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01224, allocations: 0.504 MB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.01238, allocations: 68.95 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.0125, allocations: 119.1 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.01271, allocations: 197.4 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01271, allocations: 3.938 kB / 279 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003123/0.01302, allocations: 276.3 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01304, allocations: 4 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01305, allocations: 4 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01306, allocations: 0 / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.01338, allocations: 127.9 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.01339, allocations: 8 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.01348, allocations: 23.98 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01349, allocations: 12 kB / 279.5 MB, free: 10.42 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 0.0001033/0.0136, allocations: 176.5 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.01367, allocations: 43.75 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.01372, allocations: 29.45 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01372, allocations: 12 kB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.01373, allocations: 3.938 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01373, allocations: 0 / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.01493, allocations: 1.132 MB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01494, allocations: 4.188 kB / 280.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.01529, allocations: 143.8 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.0153, allocations: 4 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.01532, allocations: 11.98 kB / 281 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01532, allocations: 4 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.01533, allocations: 7.938 kB / 281 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.01595, allocations: 0.8021 MB / 281.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.01603, allocations: 51.81 kB / 281.9 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.01606, allocations: 8 kB / 281.9 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.01625, allocations: 35.95 kB / 281.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.01633, allocations: 55.8 kB / 282 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01635, allocations: 15.98 kB / 282 MB, free: 7.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.608e-05/0.01644, allocations: 167.2 kB / 282.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01644, allocations: 0 / 282.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.01674, allocations: 84 kB / 282.2 MB, free: 7.492 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 0.0001237/0.01686, allocations: 110 kB / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.0172, allocations: 224.3 kB / 282.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.0172, allocations: 0 / 282.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.01737, allocations: 143.4 kB / 282.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.01782, allocations: 93.52 kB / 282.8 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.0204, allocations: 1.187 MB / 284 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.02049, allocations: 96.77 kB / 284.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.0206, allocations: 42.95 kB / 284.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.0207, allocations: 40.48 kB / 284.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0207, allocations: 0 / 284.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of Templates: time 0.006982/0.02768, allocations: 4.46 MB / 288.6 MB, free: 1.07 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: 3.0036963280290365]