Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.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.001278/0.001278, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002055/0.003333, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00115/0.00115, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002715, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.151/1.151, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1437/1.294, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4057/0.4057, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03621/0.4419, allocations: 13.1 MB / 291.5 MB, free: 7.348 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 292.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.816e-05, allocations: 3.406 kB / 292.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004265/0.004293, allocations: 4.115 MB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.006765, allocations: 1.204 MB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000434/0.007199, allocations: 19.88 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.007563, allocations: 98.95 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.008069, allocations: 225.9 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.00862, allocations: 235.4 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.009299, allocations: 0.8247 MB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.009568, allocations: 162 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007461/0.01031, allocations: 0.5273 MB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.0106, allocations: 259.2 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.01067, allocations: 60 kB / 300.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.01085, allocations: 95.91 kB / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.01094, allocations: 111.6 kB / 300.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.0111, allocations: 199.6 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.01172, allocations: 0.502 MB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-05/0.01174, allocations: 4 kB / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.01174, allocations: 0 / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.01177, allocations: 0 / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001281/0.01305, allocations: 1.065 MB / 302.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01308, allocations: 15.97 kB / 302.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.01348, allocations: 233.9 kB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.01389, allocations: 323.5 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.01393, allocations: 41.69 kB / 303.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.01401, allocations: 68.28 kB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.01486, allocations: 475.4 kB / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.01489, allocations: 12.12 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.01492, allocations: 27.94 kB / 303.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.01494, allocations: 16 kB / 303.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.01522, allocations: 200.1 kB / 303.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.01682, allocations: 1.601 MB / 305.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.01736, allocations: 432.4 kB / 305.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.01751, allocations: 163.4 kB / 306 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.0176, allocations: 24.48 kB / 306.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.01763, allocations: 51 kB / 306.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/0.01764, allocations: 0 / 306.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.003458/0.02109, allocations: 2.802 MB / 308.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.02118, allocations: 222.3 kB / 309.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.0214, allocations: 359.2 kB / 309.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.02143, allocations: 41.7 kB / 309.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.02153, allocations: 242.4 kB / 309.8 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.02174, allocations: 432.2 kB / 310.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.02189, allocations: 186.8 kB / 310.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/0.02229, allocations: 394.5 kB / 310.8 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.02241, allocations: 98.56 kB / 310.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.02262, allocations: 305.2 kB / 311.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.02302, allocations: 0.5188 MB / 311.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.02302, allocations: 0 / 311.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005683/0.02359, allocations: 0.5127 MB / 312.2 MB, free: 2.141 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02361, allocations: 12.09 kB / 312.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.02362, allocations: 4 kB / 312.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.02364, allocations: 12.06 kB / 312.2 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/0.02428, allocations: 342.5 kB / 312.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.02429, allocations: 17.42 kB / 312.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.02448, allocations: 39.98 kB / 312.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.02452, allocations: 31.98 kB / 312.6 MB, free: 1.695 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0001595/0.02468, allocations: 176.4 kB / 312.8 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.02482, allocations: 91.92 kB / 312.9 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.02502, allocations: 156.5 kB / 313 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.02502, allocations: 15.94 kB / 313.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.02503, allocations: 0 / 313.1 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.02504, allocations: 11.92 kB / 313.1 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.02661, allocations: 1.428 MB / 314.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.02661, allocations: 4 kB / 314.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.02724, allocations: 302.3 kB / 314.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.02739, allocations: 75.52 kB / 314.9 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.0274, allocations: 11.94 kB / 314.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.02744, allocations: 31.98 kB / 314.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.02745, allocations: 8 kB / 314.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.02745, allocations: 7.938 kB / 314.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.02832, allocations: 1.229 MB / 316.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.02838, allocations: 24 kB / 316.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.02865, allocations: 35.92 kB / 316.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.02875, allocations: 80.45 kB / 316.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.02878, allocations: 31.98 kB / 316.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.0289, allocations: 152.6 kB / 316.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0289, allocations: 0 / 316.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.02944, allocations: 196 kB / 316.7 MB, free: 13.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.0001762/0.02962, allocations: 123.2 kB / 316.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.03013, allocations: 486.2 kB / 317.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.953e-05/0.03016, allocations: 15.94 kB / 317.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.03106, allocations: 347.9 kB / 317.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.03219, allocations: 1.195 MB / 318.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.03525, allocations: 1.514 MB / 320.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.03539, allocations: 173.3 kB / 320.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.03568, allocations: 98.14 kB / 320.6 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.03597, allocations: 205.3 kB / 320.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of SimCode: time 2.024e-06/0.03597, allocations: 4 kB / 320.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01194/0.04792, allocations: 8.065 MB / 328.9 MB, free: 1.172 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.384778382256627]