Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009383/0.0009383, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002409, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008247/0.0008247, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001829, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9853/0.9853, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09004/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.272e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003938/0.003961, allocations: 2.498 MB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005611, allocations: 0.7868 MB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.005757, allocations: 7.938 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.005883, allocations: 47.52 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.006126, allocations: 107 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.006455, allocations: 139.6 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.006918, allocations: 478 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.007072, allocations: 59.09 kB / 249.3 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.007453, allocations: 291.4 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.007683, allocations: 163.6 kB / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.00775, allocations: 40 kB / 249.8 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.007816, allocations: 36 kB / 249.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.007882, allocations: 59.81 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.007999, allocations: 99.88 kB / 250 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.008333, allocations: 271 kB / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.008345, allocations: 0 / 250.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.008346, allocations: 4 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.008358, allocations: 0 / 250.2 MB, free: 8.496 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.001097/0.009455, allocations: 0.6166 MB / 250.9 MB, free: 7.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.009489, allocations: 8.625 kB / 250.9 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.009583, allocations: 44.91 kB / 250.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.009865, allocations: 186.2 kB / 251.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.009998, allocations: 135.9 kB / 251.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.01006, allocations: 28.36 kB / 251.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.01051, allocations: 283.2 kB / 251.5 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.01053, allocations: 15.92 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.01056, allocations: 12 kB / 251.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01057, allocations: 4 kB / 251.6 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.01083, allocations: 115.9 kB / 251.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.01174, allocations: 0.6093 MB / 252.3 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.01209, allocations: 199.7 kB / 252.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.01223, allocations: 82.56 kB / 252.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.01225, allocations: 7.938 kB / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.01228, allocations: 42.55 kB / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.01228, allocations: 448 / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001848/0.01413, allocations: 1.187 MB / 253.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.01418, allocations: 106.8 kB / 253.9 MB, free: 4.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.01432, allocations: 182.8 kB / 254.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.01435, allocations: 37.7 kB / 254.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.01443, allocations: 144.7 kB / 254.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.01453, allocations: 146.7 kB / 254.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01464, allocations: 74.14 kB / 254.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01475, allocations: 342.8 kB / 254.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.01489, allocations: 44.97 kB / 254.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.015, allocations: 94.05 kB / 254.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.01522, allocations: 159.9 kB / 255.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01523, allocations: 4 kB / 255.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002993/0.01553, allocations: 181.4 kB / 255.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01554, allocations: 7.938 kB / 255.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01555, allocations: 4 kB / 255.3 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01557, allocations: 4 kB / 255.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.01614, allocations: 151.2 kB / 255.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.01615, allocations: 15.91 kB / 255.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01629, allocations: 20 kB / 255.5 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01631, allocations: 8 kB / 255.5 MB, free: 2.84 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.0001099/0.01642, allocations: 133.8 kB / 255.6 MB, free: 2.699 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.01651, allocations: 27.98 kB / 255.6 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.01656, allocations: 33.45 kB / 255.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01657, allocations: 4 kB / 255.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01657, allocations: 7.938 kB / 255.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01658, allocations: 0 / 255.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.0177, allocations: 0.7999 MB / 256.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01771, allocations: 0 / 256.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.01835, allocations: 171.8 kB / 256.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.01845, allocations: 39.77 kB / 256.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.01846, allocations: 4 kB / 256.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.01848, allocations: 11.98 kB / 256.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.01849, allocations: 4 kB / 256.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01849, allocations: 4 kB / 256.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.01909, allocations: 0.5615 MB / 257.3 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.01913, allocations: 8 kB / 257.3 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.01945, allocations: 36.03 kB / 257.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.01954, allocations: 47.86 kB / 257.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.01956, allocations: 8 kB / 257.4 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.618e-05/0.01963, allocations: 58.3 kB / 257.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01963, allocations: 0 / 257.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.02004, allocations: 80 kB / 257.5 MB, free: 0.707 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.0001316/0.02017, allocations: 91.33 kB / 257.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.02048, allocations: 182.5 kB / 257.8 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.02049, allocations: 4 kB / 257.8 MB, free: 436 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.02073, allocations: 153.1 kB / 257.9 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.02139, allocations: 0.7085 MB / 258.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.02616, allocations: 1.006 MB / 259.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.02622, allocations: 97.12 kB / 259.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.02633, allocations: 38.95 kB / 259.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.02651, allocations: 119.3 kB / 259.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02651, allocations: 0 / 259.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Templates: time 0.006618/0.03313, allocations: 5.024 MB / 264.9 MB, free: 9.148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.4918581061065197]