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.00147/0.00147, allocations: 84.34 kB / 20.95 MB, free: 3.457 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.001626/0.001626, allocations: 165.3 kB / 24.26 MB, free: 152 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.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3579/0.3579, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 3.035e-06/3.035e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.691e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006258/0.006295, allocations: 3.789 MB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.008774, allocations: 1.129 MB / 382.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.009103, allocations: 23.81 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.009396, allocations: 102.9 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.009882, allocations: 218 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.01054, allocations: 239.3 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01158, allocations: 0.8285 MB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.01192, allocations: 156 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.01262, allocations: 471 kB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.01304, allocations: 263.2 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.01315, allocations: 60 kB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.01335, allocations: 87.94 kB / 384.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.01351, allocations: 151.4 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.01381, allocations: 251.3 kB / 385 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.01484, allocations: 0.7981 MB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01484, allocations: 0 / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01484, allocations: 0 / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.01485, allocations: 0 / 385.8 MB, free: 10.41 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.002063/0.01691, allocations: 0.9525 MB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01695, allocations: 8.031 kB / 386.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.01775, allocations: 192.3 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.0184, allocations: 375.5 kB / 387.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.01845, allocations: 49.62 kB / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.01858, allocations: 68.31 kB / 387.4 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.01996, allocations: 0.62 MB / 388 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.02001, allocations: 16.03 kB / 388 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.02007, allocations: 23.94 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.02009, allocations: 16 kB / 388.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.0213, allocations: 0.5073 MB / 388.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.02476, allocations: 1.939 MB / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.02616, allocations: 0.6378 MB / 391.2 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.02681, allocations: 315.3 kB / 391.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.02694, allocations: 24.75 kB / 391.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.027, allocations: 62.97 kB / 391.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.725e-06/0.027, allocations: 0 / 391.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.009138/0.03614, allocations: 3.956 MB / 395.5 MB, free: 200 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.03634, allocations: 226.3 kB / 395.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.03687, allocations: 393.8 kB / 396.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.03694, allocations: 49.64 kB / 396.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.0372, allocations: 281.5 kB / 396.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.03761, allocations: 432.3 kB / 396.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.03791, allocations: 182.9 kB / 397 MB, free: 14.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.03815, allocations: 378.8 kB / 397.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.03884, allocations: 314.4 kB / 397.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/0.03972, allocations: 0.4955 MB / 398.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.04135, allocations: 0.8624 MB / 399.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.04136, allocations: 7.938 kB / 399.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002164/0.04352, allocations: 1.047 MB / 400.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.04354, allocations: 8 kB / 400.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.04356, allocations: 4 kB / 400.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.0436, allocations: 16.38 kB / 400.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.04467, allocations: 283.7 kB / 400.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.04469, allocations: 12 kB / 400.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.04518, allocations: 43.97 kB / 400.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.04527, allocations: 40 kB / 400.5 MB, free: 10.95 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.0003741/0.04564, allocations: 233.5 kB / 400.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.04594, allocations: 119.5 kB / 400.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.04646, allocations: 219 kB / 401.1 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.04648, allocations: 15.94 kB / 401.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.04649, allocations: 4 kB / 401.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.04651, allocations: 11.97 kB / 401.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.05069, allocations: 2.059 MB / 403.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.0507, allocations: 4 kB / 403.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.05179, allocations: 244 kB / 403.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.0518, allocations: 12.14 kB / 403.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.05187, allocations: 27.98 kB / 403.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.05188, allocations: 11.94 kB / 403.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.05189, allocations: 8 kB / 403.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.05486, allocations: 1.91 MB / 405.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.05516, allocations: 123.5 kB / 405.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.05526, allocations: 31.98 kB / 405.5 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.05587, allocations: 39.92 kB / 405.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.05613, allocations: 92.38 kB / 405.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.0562, allocations: 35.98 kB / 405.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.05654, allocations: 267.1 kB / 406 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05654, allocations: 4 kB / 406 MB, free: 5.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009304/0.05747, allocations: 196 kB / 406.2 MB, free: 5.188 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.0002633/0.05774, allocations: 139.1 kB / 406.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.0596, allocations: 0.8013 MB / 407.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.0596, allocations: 0 / 407.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009024/0.0605, allocations: 468.2 kB / 407.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.06183, allocations: 146.1 kB / 407.7 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.06559, allocations: 1.924 MB / 409.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.06604, allocations: 357.1 kB / 410 MB, free: 1.266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004249/0.06646, allocations: 106 kB / 410.1 MB, free: 1.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.06668, allocations: 64.48 kB / 410.1 MB, free: 1.098 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.06668, allocations: 0 / 410.1 MB, free: 1.098 MB / 378.7 MB Notification: Performance of Templates: time 0.01648/0.08316, allocations: 7.341 MB / 417.5 MB, free: 9.871 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] 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.170262641040608]