Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 183.7 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 370.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 52.17 MB / 423 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003722/0.2451, allocations: 2.288 MB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2464, allocations: 0.7095 MB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2466, allocations: 11.88 kB / 426.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2467, allocations: 43.58 kB / 426.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.2469, allocations: 107.1 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.2474, allocations: 134.1 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.2481, allocations: 470.1 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2483, allocations: 57.11 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.2486, allocations: 187.5 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.2488, allocations: 191.2 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.2489, allocations: 40 kB / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.249, allocations: 39.94 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.2491, allocations: 83.8 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2492, allocations: 147.4 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.2497, allocations: 424.7 kB / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2497, allocations: 0 / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2497, allocations: 0 / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2497, allocations: 0 / 427.9 MB, free: 9.602 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.001578/0.2513, allocations: 0.6252 MB / 428.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2513, allocations: 8.031 kB / 428.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.2514, allocations: 32.75 kB / 428.6 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.2518, allocations: 210.9 kB / 428.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.252, allocations: 139.6 kB / 428.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.2521, allocations: 31.94 kB / 429 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.253, allocations: 374.4 kB / 429.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.2531, allocations: 11.94 kB / 429.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2531, allocations: 8 kB / 429.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2531, allocations: 8 kB / 429.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2544, allocations: 391.5 kB / 429.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2557, allocations: 0.806 MB / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.2569, allocations: 387.5 kB / 430.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.2575, allocations: 214.4 kB / 431.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2576, allocations: 4 kB / 431.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2576, allocations: 34.56 kB / 431.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.2576, allocations: 0 / 431.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.004911/0.2625, allocations: 1.887 MB / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.2626, allocations: 106.8 kB / 433.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2628, allocations: 181.3 kB / 433.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2628, allocations: 29.7 kB / 433.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2629, allocations: 156.7 kB / 433.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2631, allocations: 142.8 kB / 433.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.2632, allocations: 78.11 kB / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2634, allocations: 334.8 kB / 434.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.2637, allocations: 104.8 kB / 434.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.2641, allocations: 173.4 kB / 434.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.2648, allocations: 288.3 kB / 434.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2648, allocations: 4 kB / 434.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009016/0.2657, allocations: 376.5 kB / 435 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2657, allocations: 11.94 kB / 435 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2657, allocations: 0 / 435 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2658, allocations: 12.97 kB / 435 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.2665, allocations: 139.8 kB / 435.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.2665, allocations: 8 kB / 435.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2667, allocations: 31.91 kB / 435.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2667, allocations: 16 kB / 435.2 MB, free: 1.898 MB / 334.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.0001589/0.2669, allocations: 141.8 kB / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.267, allocations: 27.8 kB / 435.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.2671, allocations: 37.45 kB / 435.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2671, allocations: 4 kB / 435.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2671, allocations: 4 kB / 435.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2671, allocations: 3.938 kB / 435.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.2695, allocations: 1.19 MB / 436.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.2695, allocations: 4 kB / 436.6 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.2704, allocations: 172 kB / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2704, allocations: 0 / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.2705, allocations: 15.98 kB / 436.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2705, allocations: 11.94 kB / 436.8 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2705, allocations: 3.938 kB / 436.8 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.2727, allocations: 0.9519 MB / 437.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2728, allocations: 51.88 kB / 437.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2729, allocations: 12 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.2733, allocations: 47.94 kB / 437.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2734, allocations: 39.88 kB / 437.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.2734, allocations: 19.98 kB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.2736, allocations: 131 kB / 438.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2736, allocations: 0 / 438.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000464/0.274, allocations: 87.88 kB / 438.2 MB, free: 14.82 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.0001404/0.2742, allocations: 115.2 kB / 438.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2753, allocations: 361 kB / 438.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2753, allocations: 0 / 438.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007071/0.276, allocations: 240 kB / 438.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.2767, allocations: 76.2 kB / 438.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.282, allocations: 1.437 MB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2822, allocations: 159.9 kB / 440.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.2824, allocations: 42.95 kB / 440.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2825, allocations: 35.42 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2825, allocations: 0 / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.009813/0.2924, allocations: 4.811 MB / 445.4 MB, free: 7.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.504959013313055]