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.0009538/0.0009538, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009445/0.0009445, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9258/0.9258, allocations: 177 MB / 204.8 MB, free: 5.594 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.784e-06/1.784e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.615e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002591/0.002617, allocations: 2.479 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003774, allocations: 0.756 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.003892, allocations: 7.938 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.004019, allocations: 39.58 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.004199, allocations: 111 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.004508, allocations: 139.7 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.004856, allocations: 486 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.005009, allocations: 53.14 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.005279, allocations: 263.5 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.005442, allocations: 167.6 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.005487, allocations: 36 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.153e-05/0.005529, allocations: 40 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.005585, allocations: 87.72 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.00568, allocations: 135.7 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005947, allocations: 307 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00595, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005951, allocations: 4 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005957, allocations: 0 / 278 MB, free: 12.36 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.001137/0.007094, allocations: 0.683 MB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.00713, allocations: 11.98 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.007219, allocations: 60.75 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.007472, allocations: 204.7 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.007579, allocations: 139.9 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.007626, allocations: 32.31 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.008055, allocations: 303.8 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.008071, allocations: 4 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.008096, allocations: 12 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.008108, allocations: 8 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.008356, allocations: 172.5 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.009182, allocations: 0.9123 MB / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.009498, allocations: 261 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.009637, allocations: 115 kB / 280.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.009654, allocations: 8 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.009679, allocations: 45.31 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.009681, allocations: 0 / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001514/0.01119, allocations: 1.369 MB / 282.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.01124, allocations: 114.7 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.01137, allocations: 234.8 kB / 282.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.01139, allocations: 29.7 kB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.01147, allocations: 203.5 kB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.01155, allocations: 146.7 kB / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.01164, allocations: 79.83 kB / 283.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01175, allocations: 0.504 MB / 283.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01189, allocations: 64.95 kB / 283.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.01202, allocations: 127.1 kB / 283.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.01224, allocations: 200.6 kB / 284 MB, free: 5.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01224, allocations: 0 / 284 MB, free: 5.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003181/0.01256, allocations: 272.5 kB / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01257, allocations: 11.12 kB / 284.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01258, allocations: 3.984 kB / 284.2 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.0126, allocations: 4 kB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.0129, allocations: 127.8 kB / 284.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01291, allocations: 4 kB / 284.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.821e-05/0.013, allocations: 20.02 kB / 284.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01301, allocations: 16 kB / 284.4 MB, free: 5.418 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 9.23e-05/0.0131, allocations: 172.5 kB / 284.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.01317, allocations: 39.81 kB / 284.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.01321, allocations: 41.33 kB / 284.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01321, allocations: 4 kB / 284.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.01322, allocations: 11.94 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01322, allocations: 0 / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.01449, allocations: 1.132 MB / 285.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.0145, allocations: 4 kB / 285.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.01488, allocations: 144 kB / 285.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.01489, allocations: 4 kB / 286 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.01491, allocations: 15.98 kB / 286 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.01491, allocations: 4 kB / 286 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.01492, allocations: 7.938 kB / 286 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.01552, allocations: 0.8126 MB / 286.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.0156, allocations: 47.81 kB / 286.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.01563, allocations: 8 kB / 286.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.01582, allocations: 39.95 kB / 286.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.0159, allocations: 39.88 kB / 286.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01592, allocations: 15.98 kB / 286.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.016, allocations: 175.1 kB / 287.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.016, allocations: 0 / 287.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.0163, allocations: 76 kB / 287.2 MB, free: 2.488 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.0001051/0.0164, allocations: 107.2 kB / 287.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.0167, allocations: 229.3 kB / 287.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.0167, allocations: 0 / 287.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.01687, allocations: 147.6 kB / 287.7 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.0173, allocations: 86.28 kB / 287.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.0197, allocations: 1.202 MB / 288.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.01977, allocations: 92.81 kB / 289 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.01989, allocations: 34.97 kB / 289.1 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.01998, allocations: 36.48 kB / 289.1 MB, free: 488 kB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01998, allocations: 0 / 289.1 MB, free: 488 kB / 266.7 MB Notification: Performance of Templates: time 0.006516/0.02649, allocations: 4.764 MB / 293.9 MB, free: 11.76 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.71921592624858]