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.001674/0.001674, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001371/0.001371, allocations: 165 kB / 23.8 MB, free: 0.7695 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.102/1.102, allocations: 158.6 MB / 185.7 MB, free: 2.891 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.1492/0.1492, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.823e-06/1.823e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.817e-05, allocations: 2.312 kB / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003306/0.003334, allocations: 4.019 MB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.00534, allocations: 1.106 MB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.005708, allocations: 19.88 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.005941, allocations: 98.95 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.006333, allocations: 210 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.006852, allocations: 203.5 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.007508, allocations: 0.8052 MB / 354.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.007753, allocations: 152.1 kB / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.008137, allocations: 459 kB / 354.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.008362, allocations: 267.2 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.008417, allocations: 56 kB / 355 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.008541, allocations: 87.92 kB / 355.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.00862, allocations: 147.4 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.008761, allocations: 243.4 kB / 355.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.009213, allocations: 0.537 MB / 356 MB, free: 1.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009218, allocations: 4 kB / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009219, allocations: 0 / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.009227, allocations: 0 / 356 MB, free: 1.059 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.0009972/0.01022, allocations: 1.033 MB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.01027, allocations: 8.031 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.01043, allocations: 120.5 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.0108, allocations: 354.3 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.01084, allocations: 41.69 kB / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/0.01092, allocations: 68.33 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.01159, allocations: 0.5026 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.01161, allocations: 16.08 kB / 358.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.01165, allocations: 24.38 kB / 358.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01166, allocations: 19.94 kB / 358.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.01207, allocations: 263.6 kB / 358.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.01431, allocations: 2.152 MB / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.01498, allocations: 0.5398 MB / 361.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.01521, allocations: 207.2 kB / 361.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.01531, allocations: 24.48 kB / 361.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.01534, allocations: 57.77 kB / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.01535, allocations: 0 / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.003798/0.01914, allocations: 3.283 MB / 364.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.01924, allocations: 226.2 kB / 364.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.01952, allocations: 410.6 kB / 365.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.01955, allocations: 45.77 kB / 365.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.01997, allocations: 324.2 kB / 365.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.02018, allocations: 428.2 kB / 366.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.02035, allocations: 184.6 kB / 366.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.02052, allocations: 0.5508 MB / 366.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.02075, allocations: 146.5 kB / 367 MB, free: 5.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.02108, allocations: 418.7 kB / 367.4 MB, free: 4.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.02169, allocations: 0.6172 MB / 368 MB, free: 4.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02169, allocations: 4 kB / 368 MB, free: 4.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007861/0.02248, allocations: 0.7354 MB / 368.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.0225, allocations: 8 kB / 368.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.02251, allocations: 4 kB / 368.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.02254, allocations: 12 kB / 368.8 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.02314, allocations: 280.1 kB / 369 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.02316, allocations: 15.94 kB / 369.1 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.02338, allocations: 43.92 kB / 369.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.02344, allocations: 43.98 kB / 369.1 MB, free: 3.07 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.0002041/0.02365, allocations: 220.3 kB / 369.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.02384, allocations: 111.6 kB / 369.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.02411, allocations: 170.8 kB / 369.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.02412, allocations: 12 kB / 369.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.02414, allocations: 7.938 kB / 369.6 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.02415, allocations: 11.97 kB / 369.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.02626, allocations: 2.02 MB / 371.7 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.02626, allocations: 8.281 kB / 371.7 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.02681, allocations: 247.8 kB / 371.9 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.02682, allocations: 8 kB / 371.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.02686, allocations: 31.97 kB / 372 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.02687, allocations: 8 kB / 372 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.02687, allocations: 4 kB / 372 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.0285, allocations: 1.78 MB / 373.8 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.02868, allocations: 127.4 kB / 373.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.02874, allocations: 24 kB / 373.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.02903, allocations: 31.98 kB / 373.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.02916, allocations: 92.44 kB / 374 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.0292, allocations: 39.92 kB / 374.1 MB, free: 13.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.02936, allocations: 263.1 kB / 374.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02936, allocations: 0 / 374.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005603/0.02992, allocations: 192 kB / 374.5 MB, free: 13.53 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.0001821/0.0301, allocations: 143.7 kB / 374.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.03081, allocations: 0.5499 MB / 375.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.03082, allocations: 0 / 375.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.03114, allocations: 314.5 kB / 375.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.03195, allocations: 155.3 kB / 375.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.03432, allocations: 1.837 MB / 377.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.03449, allocations: 177.2 kB / 377.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.03479, allocations: 89.75 kB / 377.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.03494, allocations: 68.42 kB / 377.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of SimCode: time 2.014e-06/0.03495, allocations: 0 / 377.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of Templates: time 0.01089/0.04584, allocations: 7.579 MB / 385.4 MB, free: 2.582 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.422342849895358]