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.001019/0.001019, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001036/0.001036, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.125/1.125, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.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.2979/0.2979, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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 2.034e-06/2.034e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.036e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003796/0.003826, allocations: 4.027 MB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.006029, allocations: 1.164 MB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.006486, allocations: 15.88 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.006724, allocations: 103 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.007267, allocations: 221.9 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.007912, allocations: 231.4 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.009203, allocations: 0.8362 MB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.009495, allocations: 160.1 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006948/0.01019, allocations: 470.9 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.01052, allocations: 259.2 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.526e-05/0.01059, allocations: 60 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.01075, allocations: 91.91 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.01084, allocations: 155.4 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.01103, allocations: 243.4 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.01161, allocations: 0.5526 MB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01162, allocations: 0 / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01162, allocations: 4 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01163, allocations: 0 / 387 MB, free: 9.816 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.001608/0.01324, allocations: 1.056 MB / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.01328, allocations: 8.031 kB / 388.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003556/0.01364, allocations: 188.4 kB / 388.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.01401, allocations: 370.2 kB / 388.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01405, allocations: 41.69 kB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.01412, allocations: 76.25 kB / 388.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.01463, allocations: 483.3 kB / 389.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.01465, allocations: 12.14 kB / 389.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.01469, allocations: 31.94 kB / 389.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.0147, allocations: 12 kB / 389.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.01499, allocations: 228.4 kB / 389.5 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.01671, allocations: 2.088 MB / 391.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.01759, allocations: 0.5046 MB / 392.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.01776, allocations: 190.4 kB / 392.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.01785, allocations: 28.42 kB / 392.3 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.01788, allocations: 53.83 kB / 392.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 1.873e-06/0.01788, allocations: 0 / 392.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.003169/0.02105, allocations: 2.654 MB / 395 MB, free: 1.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.02115, allocations: 230.2 kB / 395.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.02143, allocations: 430.3 kB / 395.7 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.02147, allocations: 49.7 kB / 395.7 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.02164, allocations: 332.1 kB / 396 MB, free: 188 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.02188, allocations: 432.4 kB / 396.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.02205, allocations: 188.5 kB / 396.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.02223, allocations: 0.5662 MB / 397.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.02238, allocations: 114.5 kB / 397.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.02264, allocations: 386.6 kB / 397.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.02316, allocations: 0.5628 MB / 398.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.02317, allocations: 0 / 398.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001023/0.02419, allocations: 0.6755 MB / 398.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.02421, allocations: 14.25 kB / 398.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02422, allocations: 8 kB / 399 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.02424, allocations: 11.98 kB / 399 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.02474, allocations: 271.6 kB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.02476, allocations: 15.88 kB / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.02495, allocations: 35.98 kB / 399.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.025, allocations: 32 kB / 399.3 MB, free: 12.69 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.0001868/0.02518, allocations: 224.2 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.02534, allocations: 119.5 kB / 399.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.02554, allocations: 167 kB / 399.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.02554, allocations: 12 kB / 399.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.02555, allocations: 7.938 kB / 399.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.02556, allocations: 3.984 kB / 399.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.02743, allocations: 1.904 MB / 401.7 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.02744, allocations: 8 kB / 401.7 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.02794, allocations: 243.7 kB / 402 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.02795, allocations: 8 kB / 402 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.02799, allocations: 24 kB / 402 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.028, allocations: 12.27 kB / 402 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.028, allocations: 11.94 kB / 402 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.0294, allocations: 1.685 MB / 403.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.02957, allocations: 127.4 kB / 403.8 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.02962, allocations: 27.98 kB / 403.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.0299, allocations: 28 kB / 403.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.03001, allocations: 92.38 kB / 404 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.03004, allocations: 27.98 kB / 404 MB, free: 7.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.03018, allocations: 267 kB / 404.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03018, allocations: 0 / 404.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.03074, allocations: 199.9 kB / 404.5 MB, free: 7.375 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.0001691/0.03091, allocations: 139.2 kB / 404.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.03145, allocations: 0.495 MB / 405.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03145, allocations: 4 kB / 405.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.03171, allocations: 297 kB / 405.4 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.03248, allocations: 143 kB / 405.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.0349, allocations: 1.857 MB / 407.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.03505, allocations: 185.2 kB / 407.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.0353, allocations: 94.02 kB / 407.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.03559, allocations: 222.1 kB / 407.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.03559, allocations: 0 / 407.9 MB, free: 3.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01102/0.0466, allocations: 8.057 MB / 415.9 MB, free: 11.91 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","",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.517839503940195]