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.001873/0.001873, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001956/0.001956, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.613/1.613, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3485/0.3485, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.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.222e-06/1.222e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.399e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006449/0.006473, allocations: 4.058 MB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.008843, allocations: 1.145 MB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.009076, allocations: 27.75 kB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.00933, allocations: 98.95 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.00981, allocations: 217.9 kB / 382.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.01039, allocations: 235.4 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.01167, allocations: 0.8324 MB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.01202, allocations: 156 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.01276, allocations: 471 kB / 384.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.0132, allocations: 263.2 kB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.01332, allocations: 60 kB / 384.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.01354, allocations: 95.92 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.01373, allocations: 151.4 kB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.01405, allocations: 243.4 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.01513, allocations: 0.8058 MB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01513, allocations: 0 / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01513, allocations: 0 / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.01514, allocations: 0 / 386.1 MB, free: 10.14 MB / 362.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.002154/0.0173, allocations: 1.079 MB / 387.2 MB, free: 9.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.01734, allocations: 8.031 kB / 387.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.01808, allocations: 184.4 kB / 387.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.01878, allocations: 386.2 kB / 387.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.01884, allocations: 45.69 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.01895, allocations: 64.33 kB / 387.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.0202, allocations: 0.6392 MB / 388.5 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.02024, allocations: 12.09 kB / 388.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.0203, allocations: 31.92 kB / 388.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.02032, allocations: 16 kB / 388.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.02142, allocations: 475.5 kB / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.0252, allocations: 2.341 MB / 391.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.02665, allocations: 0.7038 MB / 392 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.02726, allocations: 315.1 kB / 392.3 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.02738, allocations: 28.44 kB / 392.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.02745, allocations: 65.8 kB / 392.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.304e-06/0.02745, allocations: 0 / 392.4 MB, free: 3.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.008555/0.036, allocations: 3.923 MB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.03618, allocations: 226.2 kB / 396.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.03681, allocations: 0.5023 MB / 397.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.03687, allocations: 45.7 kB / 397.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/0.03745, allocations: 348.2 kB / 397.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.03788, allocations: 452.3 kB / 397.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.03821, allocations: 220.6 kB / 398.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004004/0.03861, allocations: 0.5977 MB / 398.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.03924, allocations: 286.5 kB / 399 MB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.04018, allocations: 0.5651 MB / 399.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.04185, allocations: 0.9503 MB / 400.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.04185, allocations: 8 kB / 400.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002/0.04385, allocations: 1.012 MB / 401.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.04388, allocations: 12.03 kB / 401.5 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.04389, allocations: 8 kB / 401.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.04393, allocations: 11.94 kB / 401.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.04498, allocations: 279.6 kB / 401.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.045, allocations: 8 kB / 401.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.04541, allocations: 35.98 kB / 401.9 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.04549, allocations: 40 kB / 401.9 MB, free: 9.434 MB / 378.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.0003767/0.04587, allocations: 284.2 kB / 402.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.04615, allocations: 115.5 kB / 402.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.04666, allocations: 215.3 kB / 402.5 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.04668, allocations: 15.94 kB / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.04669, allocations: 7.938 kB / 402.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.0467, allocations: 3.984 kB / 402.5 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.05117, allocations: 2.419 MB / 405 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.05117, allocations: 4 kB / 405 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.05224, allocations: 243.7 kB / 405.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.05225, allocations: 8 kB / 405.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.05232, allocations: 28.27 kB / 405.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.05233, allocations: 19.88 kB / 405.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.05234, allocations: 4 kB / 405.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.0554, allocations: 2.22 MB / 407.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.05569, allocations: 127.4 kB / 407.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.05579, allocations: 31.98 kB / 407.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.05635, allocations: 31.98 kB / 407.7 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.05654, allocations: 92.44 kB / 407.8 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.0566, allocations: 32 kB / 407.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.05697, allocations: 327 kB / 408.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05697, allocations: 0 / 408.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008831/0.05786, allocations: 207.9 kB / 408.3 MB, free: 2.879 MB / 378.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.0002592/0.05812, allocations: 131.1 kB / 408.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.05983, allocations: 0.8415 MB / 409.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.05983, allocations: 0 / 409.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008439/0.06068, allocations: 470.3 kB / 409.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.06195, allocations: 146.3 kB / 409.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.06576, allocations: 1.982 MB / 411.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.06622, allocations: 353.1 kB / 412.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00039/0.06661, allocations: 94.56 kB / 412.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.06682, allocations: 68.48 kB / 412.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.06682, allocations: 0 / 412.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01681/0.08363, allocations: 7.352 MB / 419.7 MB, free: 7.438 MB / 394.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.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: 5.241105405031703]