Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009708/0.0009708, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001066/0.001066, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.035/1.035, allocations: 158.6 MB / 186 MB, free: 2.5 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1364/0.1364, allocations: 32.37 MB / 270.7 MB, free: 14.74 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.351e-05, allocations: 13.34 kB / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003684/0.003718, allocations: 4 MB / 351.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.005733, allocations: 1.099 MB / 352.7 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.006139, allocations: 19.88 kB / 352.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.006402, allocations: 98.95 kB / 352.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.006836, allocations: 221.9 kB / 353.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.007461, allocations: 195.5 kB / 353.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.008153, allocations: 0.8092 MB / 354.1 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.008452, allocations: 152.1 kB / 354.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/0.008922, allocations: 455.1 kB / 354.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.009176, allocations: 263.2 kB / 354.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.1e-05/0.009237, allocations: 60 kB / 355 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.00938, allocations: 87.86 kB / 355.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.009473, allocations: 155.4 kB / 355.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.009637, allocations: 239.4 kB / 355.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.01019, allocations: 0.5332 MB / 356 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.0102, allocations: 4 kB / 356 MB, free: 1.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0102, allocations: 4 kB / 356 MB, free: 1.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.01021, allocations: 0 / 356 MB, free: 1.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001099/0.01131, allocations: 1.029 MB / 357 MB, free: 344 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.01136, allocations: 8.031 kB / 357 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.0115, allocations: 128.5 kB / 357.2 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.01189, allocations: 346.4 kB / 357.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.01193, allocations: 41.69 kB / 357.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.01201, allocations: 68.33 kB / 357.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.01307, allocations: 0.5026 MB / 358.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.0131, allocations: 20.08 kB / 358.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.01314, allocations: 24.38 kB / 358.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.01316, allocations: 15.94 kB / 358.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.01364, allocations: 267.6 kB / 358.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.01582, allocations: 2.156 MB / 360.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.01669, allocations: 0.532 MB / 361.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.01699, allocations: 211.2 kB / 361.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.01713, allocations: 28.42 kB / 361.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.01718, allocations: 53.83 kB / 361.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 1.25e-05/0.01719, allocations: 0 / 361.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.004684/0.02188, allocations: 3.286 MB / 364.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.02196, allocations: 226.3 kB / 364.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.02226, allocations: 406.6 kB / 365.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.0223, allocations: 45.7 kB / 365.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.02246, allocations: 324.2 kB / 365.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.02267, allocations: 428.2 kB / 366.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.02283, allocations: 180.6 kB / 366.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.02301, allocations: 0.5547 MB / 366.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.02326, allocations: 154.5 kB / 367 MB, free: 5.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.02362, allocations: 410.7 kB / 367.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.02428, allocations: 0.622 MB / 368 MB, free: 4.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.02429, allocations: 4 kB / 368 MB, free: 4.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0009163/0.0252, allocations: 0.7354 MB / 368.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.02523, allocations: 8 kB / 368.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.02525, allocations: 8 kB / 368.7 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.02527, allocations: 8 kB / 368.7 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.02589, allocations: 280 kB / 369 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.02592, allocations: 19.94 kB / 369 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.02617, allocations: 43.98 kB / 369.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.02623, allocations: 43.98 kB / 369.1 MB, free: 3.418 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 (144): * Single equations (assignments): 144 * 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.000227/0.02645, allocations: 220.3 kB / 369.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.02662, allocations: 107.6 kB / 369.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.02692, allocations: 170.8 kB / 369.6 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.02693, allocations: 15.94 kB / 369.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.869e-05/0.02696, allocations: 7.938 kB / 369.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.02697, allocations: 7.984 kB / 369.6 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.02952, allocations: 2.032 MB / 371.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.02952, allocations: 4.281 kB / 371.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.03007, allocations: 247.7 kB / 371.9 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.03008, allocations: 8 kB / 371.9 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.03012, allocations: 28 kB / 372 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.03013, allocations: 11.98 kB / 372 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.03014, allocations: 9.5 kB / 372 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.03145, allocations: 1.767 MB / 373.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.03163, allocations: 123.5 kB / 373.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.03169, allocations: 31.98 kB / 373.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.03197, allocations: 31.98 kB / 373.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.03212, allocations: 92.38 kB / 374 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.03216, allocations: 32 kB / 374.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.03233, allocations: 267.1 kB / 374.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03233, allocations: 0 / 374.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005851/0.03291, allocations: 192 kB / 374.5 MB, free: 13.88 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 (115): * Single equations (assignments): 115 * 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.0001888/0.0331, allocations: 139 kB / 374.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007725/0.03387, allocations: 0.5524 MB / 375.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03388, allocations: 0 / 375.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.03423, allocations: 318.5 kB / 375.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.03504, allocations: 147.4 kB / 375.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.03769, allocations: 1.841 MB / 377.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.03786, allocations: 173.2 kB / 377.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.03819, allocations: 89.75 kB / 377.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.03834, allocations: 72.47 kB / 377.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of SimCode: time 2.565e-06/0.03834, allocations: 0 / 377.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of Templates: time 0.01128/0.04962, allocations: 7.211 MB / 385 MB, free: 3.297 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.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: 3.3694548499770463]