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.00173/0.00173, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 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.00168/0.00168, allocations: 220.6 kB / 23 MB, free: 5.574 MB / 14.72 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 1.424/1.424, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001892/0.001892, allocations: 67.89 kB / 376.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2549, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003816/0.2587, allocations: 2.468 MB / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2602, allocations: 0.7834 MB / 433 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2603, allocations: 7.938 kB / 433 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2604, allocations: 43.58 kB / 433.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.2606, allocations: 103.1 kB / 433.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.261, allocations: 127.8 kB / 433.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.2615, allocations: 466.2 kB / 433.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2616, allocations: 68.89 kB / 433.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.2619, allocations: 187.4 kB / 434 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2621, allocations: 203.3 kB / 434.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.2622, allocations: 36 kB / 434.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.2622, allocations: 40 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.2623, allocations: 91.66 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.2625, allocations: 175.3 kB / 434.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.263, allocations: 415.7 kB / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.263, allocations: 0 / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.263, allocations: 0 / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.263, allocations: 4 kB / 435 MB, free: 2.359 MB / 334.1 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.001614/0.2646, allocations: 0.6897 MB / 435.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2647, allocations: 12.03 kB / 435.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.2647, allocations: 32.75 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2652, allocations: 264.8 kB / 435.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2654, allocations: 84.27 kB / 436 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.2654, allocations: 35.95 kB / 436.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.2664, allocations: 375.2 kB / 436.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2664, allocations: 7.984 kB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2665, allocations: 12 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2665, allocations: 4 kB / 436.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2677, allocations: 395.5 kB / 436.8 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2691, allocations: 0.974 MB / 437.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2702, allocations: 399.4 kB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.2708, allocations: 214.4 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2708, allocations: 4 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2709, allocations: 34.56 kB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.2709, allocations: 4 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.0048/0.2757, allocations: 2.329 MB / 440.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.2757, allocations: 106.8 kB / 440.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.2759, allocations: 207.2 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.276, allocations: 29.7 kB / 441.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2761, allocations: 152.8 kB / 441.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2762, allocations: 134.8 kB / 441.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2763, allocations: 82.06 kB / 441.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2765, allocations: 338.8 kB / 441.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.2768, allocations: 104.8 kB / 441.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.2772, allocations: 181.3 kB / 442.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.2778, allocations: 291.5 kB / 442.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2778, allocations: 0.9375 kB / 442.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008146/0.2786, allocations: 372.3 kB / 442.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2786, allocations: 6.5 kB / 442.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2786, allocations: 4 kB / 442.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2787, allocations: 3.938 kB / 442.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.2794, allocations: 147.9 kB / 442.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.2794, allocations: 4 kB / 442.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2796, allocations: 31.97 kB / 442.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2796, allocations: 12 kB / 442.9 MB, free: 9.805 MB / 350.1 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.0001563/0.2798, allocations: 145.7 kB / 443.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.2799, allocations: 35.69 kB / 443.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.28, allocations: 37.52 kB / 443.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.28, allocations: 4 kB / 443.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.28, allocations: 4 kB / 443.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.28, allocations: 0 / 443.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.2824, allocations: 1.323 MB / 444.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2824, allocations: 4 kB / 444.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.2833, allocations: 171.9 kB / 444.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2833, allocations: 4 kB / 444.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.2833, allocations: 15.92 kB / 444.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.2833, allocations: 7.938 kB / 444.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2833, allocations: 0 / 444.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.2854, allocations: 0.9518 MB / 445.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.2855, allocations: 132.9 kB / 445.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.2856, allocations: 11.94 kB / 445.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.286, allocations: 47.94 kB / 445.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2861, allocations: 39.95 kB / 445.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.2861, allocations: 15.98 kB / 445.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.2862, allocations: 152.6 kB / 446 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2862, allocations: 0 / 446 MB, free: 6.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.2867, allocations: 83.94 kB / 446.1 MB, free: 6.473 MB / 350.1 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.0001384/0.2868, allocations: 115.1 kB / 446.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2878, allocations: 351.8 kB / 446.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2878, allocations: 0 / 446.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.2885, allocations: 243.6 kB / 446.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.2892, allocations: 81.72 kB / 446.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.2942, allocations: 1.451 MB / 448.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.2947, allocations: 0.7643 MB / 449.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.2949, allocations: 42.95 kB / 449.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.295, allocations: 35.42 kB / 449.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.295, allocations: 0 / 449.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of Templates: time 0.009138/0.3041, allocations: 4.489 MB / 453.7 MB, free: 14.86 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.461392554454505]