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.000965/0.000965, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001016/0.001016, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9402/0.9402, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.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 1.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.67e-05, allocations: 5.125 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002319/0.002335, allocations: 2.446 MB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.003289, allocations: 0.7714 MB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.003385, allocations: 7.938 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003506, allocations: 47.52 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.003679, allocations: 111 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.003997, allocations: 131.7 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.004322, allocations: 478 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004438, allocations: 67.03 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.004675, allocations: 271.4 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.004832, allocations: 171.6 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.004877, allocations: 36 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.004914, allocations: 36 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.004969, allocations: 87.72 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.005056, allocations: 135.7 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005294, allocations: 303 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005295, allocations: 0 / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005297, allocations: 0 / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005302, allocations: 0 / 278.4 MB, free: 11.99 MB / 266.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.0007132/0.006015, allocations: 0.5584 MB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.006044, allocations: 11.98 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.006104, allocations: 44.91 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.006305, allocations: 177.9 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.006403, allocations: 135.9 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.006445, allocations: 32.36 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.006762, allocations: 283.2 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.006776, allocations: 11.89 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.006795, allocations: 8 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006802, allocations: 8 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.006955, allocations: 115.9 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.007559, allocations: 0.6209 MB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.007772, allocations: 195.7 kB / 280.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.007862, allocations: 90.53 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007875, allocations: 4 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.007896, allocations: 38.5 kB / 280.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.007898, allocations: 0 / 280.7 MB, free: 9.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001147/0.009045, allocations: 1.157 MB / 281.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.00909, allocations: 110.8 kB / 282 MB, free: 8.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.009191, allocations: 190.9 kB / 282.2 MB, free: 7.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.009213, allocations: 29.7 kB / 282.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.009268, allocations: 136.7 kB / 282.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.009344, allocations: 150.7 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.00943, allocations: 78.14 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.009519, allocations: 334.8 kB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.009605, allocations: 48.97 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.009682, allocations: 94.14 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.009834, allocations: 172.8 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009836, allocations: 4 kB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001872/0.01002, allocations: 177.5 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01004, allocations: 8 kB / 283.4 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01004, allocations: 4.094 kB / 283.4 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01005, allocations: 4 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.01032, allocations: 115.8 kB / 283.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.01032, allocations: 4 kB / 283.5 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.01041, allocations: 27.94 kB / 283.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01042, allocations: 8 kB / 283.6 MB, free: 6.453 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 7.964e-05/0.0105, allocations: 141.6 kB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.01055, allocations: 23.98 kB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.01059, allocations: 29.45 kB / 283.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01059, allocations: 11.94 kB / 283.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01059, allocations: 0 / 283.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.0106, allocations: 11.91 kB / 283.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006904/0.01129, allocations: 0.8001 MB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01129, allocations: 4 kB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.01162, allocations: 144 kB / 284.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01162, allocations: 0 / 284.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.01164, allocations: 12 kB / 284.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01164, allocations: 4 kB / 284.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01165, allocations: 3.938 kB / 284.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.01203, allocations: 0.5653 MB / 285.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.01209, allocations: 31.84 kB / 285.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.01211, allocations: 8 kB / 285.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.01228, allocations: 36.03 kB / 285.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.01235, allocations: 43.86 kB / 285.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.01236, allocations: 12 kB / 285.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.942e-05/0.0124, allocations: 58.09 kB / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0124, allocations: 0 / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.01264, allocations: 84 kB / 285.6 MB, free: 4.324 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 8.362e-05/0.01273, allocations: 88.36 kB / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.01291, allocations: 176.5 kB / 285.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01292, allocations: 4 kB / 285.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01303, allocations: 121.2 kB / 286 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.01338, allocations: 96.83 kB / 286 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.01535, allocations: 1.041 MB / 287.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.01542, allocations: 96.81 kB / 287.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.01551, allocations: 38.97 kB / 287.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.01567, allocations: 115.3 kB / 287.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01567, allocations: 0 / 287.3 MB, free: 2.488 MB / 266.7 MB Notification: Performance of Templates: time 0.09076/0.1064, allocations: 4.844 MB / 292.2 MB, free: 25.57 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.60005283402279]