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.001007/0.001007, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001097/0.001097, allocations: 168.5 kB / 24.84 MB, free: 9.297 MB / 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.042/1.042, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1497/0.1497, allocations: 32.37 MB / 271.5 MB, free: 14.53 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 2.755e-06/2.755e-06, allocations: 0 / 348.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.216e-05, allocations: 8.219 kB / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003683/0.003726, allocations: 3.961 MB / 352.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.006313, allocations: 1.087 MB / 353.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.00689, allocations: 23.81 kB / 354 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.007235, allocations: 98.95 kB / 354.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.007965, allocations: 218 kB / 354.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.008766, allocations: 199.5 kB / 354.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.00983, allocations: 0.8091 MB / 355.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.01021, allocations: 156.1 kB / 355.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.01102, allocations: 455 kB / 355.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.01145, allocations: 263.3 kB / 356.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01159, allocations: 56 kB / 356.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.0118, allocations: 87.88 kB / 356.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.01196, allocations: 147.5 kB / 356.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.01232, allocations: 247.4 kB / 356.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009189/0.01324, allocations: 0.5409 MB / 357.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.01325, allocations: 0 / 357.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01325, allocations: 0 / 357.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.01328, allocations: 0 / 357.2 MB, free: 0.8477 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.001749/0.01503, allocations: 1.037 MB / 358.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.01508, allocations: 12.03 kB / 358.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.01529, allocations: 120.5 kB / 358.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.01589, allocations: 346.2 kB / 358.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.01595, allocations: 45.69 kB / 358.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.01607, allocations: 68.31 kB / 358.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009504/0.01702, allocations: 482.6 kB / 359.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.01707, allocations: 16.08 kB / 359.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.01713, allocations: 28.38 kB / 359.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.01715, allocations: 15.94 kB / 359.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.01765, allocations: 218.5 kB / 359.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.02065, allocations: 2.09 MB / 361.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/0.02157, allocations: 0.5111 MB / 362.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.02187, allocations: 187.2 kB / 362.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.02198, allocations: 24.48 kB / 362.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.02203, allocations: 53.83 kB / 362.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 5.21e-06/0.02203, allocations: 0 / 362.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.005513/0.02755, allocations: 2.645 MB / 365.1 MB, free: 8.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.02767, allocations: 230.2 kB / 365.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.02808, allocations: 406.4 kB / 365.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.02813, allocations: 45.77 kB / 365.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.02836, allocations: 328.1 kB / 366 MB, free: 7.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.02872, allocations: 432.2 kB / 366.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.02902, allocations: 184.5 kB / 366.6 MB, free: 6.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.02926, allocations: 0.5662 MB / 367.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.02955, allocations: 114.5 kB / 367.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.03019, allocations: 382.6 kB / 367.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.03079, allocations: 0.5594 MB / 368.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03079, allocations: 0 / 368.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.000783/0.03157, allocations: 0.669 MB / 368.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.0316, allocations: 8 kB / 368.9 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.03161, allocations: 5.484 kB / 368.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.03163, allocations: 8 kB / 368.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.03223, allocations: 272 kB / 369.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.03224, allocations: 15.98 kB / 369.2 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.03248, allocations: 47.92 kB / 369.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.03253, allocations: 28 kB / 369.3 MB, free: 3.895 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.0002247/0.03275, allocations: 220.3 kB / 369.5 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.03293, allocations: 115.5 kB / 369.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.03317, allocations: 163.2 kB / 369.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.03317, allocations: 12 kB / 369.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.03318, allocations: 4 kB / 369.8 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.03319, allocations: 15.91 kB / 369.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.03515, allocations: 1.9 MB / 371.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.03516, allocations: 8.031 kB / 371.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.03571, allocations: 243.7 kB / 372 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.03572, allocations: 11.94 kB / 372 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.03576, allocations: 31.98 kB / 372 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.03577, allocations: 8 kB / 372 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.03577, allocations: 4 kB / 372 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.03694, allocations: 1.688 MB / 373.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.0371, allocations: 123.6 kB / 373.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.03715, allocations: 27.94 kB / 373.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.03744, allocations: 35.97 kB / 373.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.03754, allocations: 88.44 kB / 374 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.03757, allocations: 24 kB / 374 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.03772, allocations: 258.9 kB / 374.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03772, allocations: 0 / 374.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.03826, allocations: 192 kB / 374.4 MB, free: 14.59 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.0002211/0.03848, allocations: 139.7 kB / 374.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.03903, allocations: 0.4899 MB / 375.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03903, allocations: 0 / 375.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.03928, allocations: 286.4 kB / 375.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.04002, allocations: 138.1 kB / 375.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.04199, allocations: 1.84 MB / 377.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.04213, allocations: 181.1 kB / 377.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.04234, allocations: 81.78 kB / 377.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.04263, allocations: 222.1 kB / 377.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04263, allocations: 0 / 377.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Templates: time 0.009787/0.05241, allocations: 8.106 MB / 385.9 MB, free: 3.082 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.3007426941767335]