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.0009581/0.0009581, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.000961/0.000961, allocations: 164.7 kB / 24.82 MB, free: 9.273 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.9521/0.9521, allocations: 177 MB / 205.1 MB, free: 5.469 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.854e-06/1.854e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.758e-05, allocations: 9.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00284/0.002868, allocations: 2.444 MB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004043, allocations: 0.7482 MB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.004172, allocations: 11.94 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.004299, allocations: 43.53 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.004472, allocations: 115 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.004788, allocations: 131.7 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.005148, allocations: 478 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.005292, allocations: 61.12 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.005605, allocations: 271.4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.005776, allocations: 159.6 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.005823, allocations: 40 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.005869, allocations: 36 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.005928, allocations: 91.7 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.006021, allocations: 131.7 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.006292, allocations: 307 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006294, allocations: 0 / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006295, allocations: 0 / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.0063, allocations: 0 / 278.3 MB, free: 12.18 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.000824/0.007124, allocations: 0.683 MB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.007163, allocations: 15.98 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.007242, allocations: 60.69 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.007464, allocations: 216.7 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.007565, allocations: 135.9 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.007609, allocations: 32.31 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.007965, allocations: 283.7 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.007981, allocations: 11.98 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.008002, allocations: 8 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.008011, allocations: 8 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.008191, allocations: 135.1 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.008978, allocations: 0.8816 MB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.009235, allocations: 233.1 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.009342, allocations: 107 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.009364, allocations: 8 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.00939, allocations: 41.83 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.009391, allocations: 0 / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001265/0.01066, allocations: 1.206 MB / 282.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.0107, allocations: 106.8 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01081, allocations: 242.1 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.01084, allocations: 37.64 kB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.01092, allocations: 195.5 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/0.011, allocations: 146.7 kB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01108, allocations: 87.75 kB / 283.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.01121, allocations: 0.504 MB / 283.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.01132, allocations: 52.95 kB / 283.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01142, allocations: 115 kB / 283.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.0116, allocations: 184.6 kB / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0116, allocations: 0 / 284 MB, free: 5.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002706/0.01187, allocations: 240.5 kB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01188, allocations: 11.12 kB / 284.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01189, allocations: 96 / 284.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.0119, allocations: 8 kB / 284.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.01219, allocations: 119.9 kB / 284.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.0122, allocations: 11.92 kB / 284.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.01229, allocations: 20 kB / 284.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.0123, allocations: 12 kB / 284.4 MB, free: 5.582 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.0001064/0.0124, allocations: 180.4 kB / 284.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.01247, allocations: 35.86 kB / 284.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.01252, allocations: 29.47 kB / 284.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01252, allocations: 8 kB / 284.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01252, allocations: 0 / 284.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.01253, allocations: 11.91 kB / 284.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/0.01345, allocations: 1.078 MB / 285.8 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.01345, allocations: 4 kB / 285.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.01381, allocations: 147.9 kB / 285.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01382, allocations: 4 kB / 285.9 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.01384, allocations: 15.98 kB / 285.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.01384, allocations: 7.938 kB / 286 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01385, allocations: 4 kB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.01439, allocations: 0.7696 MB / 286.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.01446, allocations: 47.81 kB / 286.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01449, allocations: 8 kB / 286.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.01467, allocations: 35.95 kB / 286.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.01474, allocations: 47.88 kB / 286.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01475, allocations: 7.984 kB / 286.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.01482, allocations: 168.4 kB / 287 MB, free: 2.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01482, allocations: 4 kB / 287 MB, free: 2.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01511, allocations: 87.94 kB / 287.1 MB, free: 2.754 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.0001009/0.01521, allocations: 107.2 kB / 287.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01545, allocations: 192.1 kB / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01545, allocations: 0 / 287.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.01559, allocations: 140.9 kB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.01603, allocations: 88.11 kB / 287.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.01838, allocations: 1.174 MB / 288.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.01845, allocations: 92.81 kB / 288.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.01856, allocations: 34.97 kB / 288.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.01875, allocations: 146.1 kB / 289.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01875, allocations: 0 / 289.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of Templates: time 0.006709/0.02546, allocations: 4.862 MB / 293.9 MB, free: 11.91 MB / 282.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.7587195886299014]