Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2368, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003757/0.2405, allocations: 2.468 MB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.242, allocations: 0.7834 MB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2421, allocations: 7.938 kB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2423, allocations: 39.53 kB / 435.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.2425, allocations: 111.1 kB / 435.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.2428, allocations: 119.8 kB / 435.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.2433, allocations: 470.2 kB / 436.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2435, allocations: 61.09 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.2437, allocations: 199.4 kB / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.244, allocations: 207.3 kB / 436.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.2441, allocations: 36 kB / 436.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.2442, allocations: 44 kB / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.2442, allocations: 83.73 kB / 437 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2444, allocations: 183.2 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.2449, allocations: 407.7 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2449, allocations: 0 / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2449, allocations: 7.938 kB / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.2449, allocations: 0 / 437.6 MB, free: 1.73 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.001549/0.2464, allocations: 0.6183 MB / 438.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2465, allocations: 12.03 kB / 438.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.2466, allocations: 32.75 kB / 438.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.247, allocations: 206 kB / 438.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.2471, allocations: 139.6 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.2472, allocations: 28 kB / 438.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.2481, allocations: 386.3 kB / 439 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2481, allocations: 0 / 439 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.2482, allocations: 12 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2482, allocations: 4 kB / 439 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2494, allocations: 395.6 kB / 439.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.2508, allocations: 0.9419 MB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2518, allocations: 387.6 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.2525, allocations: 214.4 kB / 440.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2525, allocations: 4 kB / 440.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2525, allocations: 42.56 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.2525, allocations: 0 / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.00467/0.2572, allocations: 1.873 MB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.2573, allocations: 114.7 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.2575, allocations: 207.2 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.2575, allocations: 29.7 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2577, allocations: 156.8 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2578, allocations: 138.8 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2579, allocations: 78.08 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2581, allocations: 338.8 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.2584, allocations: 108.8 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.2588, allocations: 165.5 kB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.2594, allocations: 300.3 kB / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2594, allocations: 0 / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008197/0.2602, allocations: 372.5 kB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2603, allocations: 7.938 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2603, allocations: 4 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2603, allocations: 0 / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.261, allocations: 147.9 kB / 444.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.261, allocations: 4 kB / 444.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2612, allocations: 27.98 kB / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2612, allocations: 12 kB / 445 MB, free: 9.871 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.0001697/0.2614, allocations: 141.8 kB / 445.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2615, allocations: 35.73 kB / 445.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.2616, allocations: 33.47 kB / 445.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2616, allocations: 8 kB / 445.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2616, allocations: 3.938 kB / 445.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2616, allocations: 3.984 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.264, allocations: 1.296 MB / 446.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2641, allocations: 4 kB / 446.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/0.2649, allocations: 168 kB / 446.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.2649, allocations: 7.984 kB / 446.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.2649, allocations: 11.94 kB / 446.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.265, allocations: 4 kB / 446.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.265, allocations: 3.938 kB / 446.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.267, allocations: 0.9561 MB / 447.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.2671, allocations: 59.83 kB / 447.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.2672, allocations: 19.92 kB / 447.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.2676, allocations: 43.89 kB / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2677, allocations: 39.94 kB / 447.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2678, allocations: 19.98 kB / 447.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2679, allocations: 152.6 kB / 448 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2679, allocations: 0 / 448 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.2684, allocations: 80 kB / 448.1 MB, free: 6.66 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.0001432/0.2685, allocations: 109.5 kB / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2696, allocations: 355.8 kB / 448.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2696, allocations: 4 kB / 448.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.2702, allocations: 236 kB / 448.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.2709, allocations: 78.92 kB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.2759, allocations: 1.466 MB / 450.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.2764, allocations: 0.7682 MB / 451.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.2765, allocations: 35.42 kB / 451.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2765, allocations: 0 / 451.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Templates: time 0.007427/0.284, allocations: 3.936 MB / 455 MB, free: 15.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.91103324200958]