Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002615/0.002615, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002131/0.002131, allocations: 161.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.572/1.572, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.342/0.342, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.994e-05, allocations: 5.547 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006144/0.006174, allocations: 4.043 MB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.008792, allocations: 1.157 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.009052, allocations: 15.88 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.00934, allocations: 106.9 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.009818, allocations: 221.9 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.01042, allocations: 235.4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009731/0.01139, allocations: 0.8246 MB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.01171, allocations: 155.9 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.01238, allocations: 478.9 kB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.01281, allocations: 263.2 kB / 382.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.01292, allocations: 60 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.01314, allocations: 87.92 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.01333, allocations: 147.4 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.01365, allocations: 255.3 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.01473, allocations: 0.802 MB / 384 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.01474, allocations: 3.984 kB / 384.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01474, allocations: 0 / 384.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.01475, allocations: 0 / 384.1 MB, free: 12.15 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.002024/0.01678, allocations: 1.076 MB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01681, allocations: 12.03 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.01752, allocations: 184.4 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.01817, allocations: 382.2 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.01822, allocations: 41.69 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.01834, allocations: 72.31 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.01954, allocations: 0.6237 MB / 386.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.01959, allocations: 20.08 kB / 386.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.01965, allocations: 27.94 kB / 386.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.01966, allocations: 12 kB / 386.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.02075, allocations: 479.5 kB / 387 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.02451, allocations: 2.345 MB / 389.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.02587, allocations: 0.7074 MB / 390 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.02648, allocations: 311.2 kB / 390.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.0266, allocations: 32.36 kB / 390.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.02665, allocations: 45.89 kB / 390.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/0.02666, allocations: 0 / 390.4 MB, free: 5.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.008249/0.0349, allocations: 3.94 MB / 394.3 MB, free: 1.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.03507, allocations: 226.2 kB / 394.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006071/0.03568, allocations: 0.4986 MB / 395 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.03574, allocations: 49.7 kB / 395.1 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.03605, allocations: 348.2 kB / 395.4 MB, free: 120 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.03648, allocations: 452.4 kB / 395.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.0368, allocations: 220.6 kB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003862/0.03719, allocations: 0.5938 MB / 396.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.03781, allocations: 290.5 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.03872, allocations: 0.5729 MB / 397.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.04033, allocations: 0.9457 MB / 398.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.04034, allocations: 4 kB / 398.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001958/0.0423, allocations: 1.012 MB / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.04232, allocations: 4 kB / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.04234, allocations: 8.438 kB / 399.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/0.04238, allocations: 19.73 kB / 399.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.04345, allocations: 275.7 kB / 399.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.04348, allocations: 15.92 kB / 399.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.0439, allocations: 39.98 kB / 399.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.04398, allocations: 40 kB / 399.9 MB, free: 11.44 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.0003689/0.04435, allocations: 272.2 kB / 400.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.04463, allocations: 119.5 kB / 400.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.04517, allocations: 223.2 kB / 400.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.04518, allocations: 15.94 kB / 400.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.0452, allocations: 4 kB / 400.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.04521, allocations: 3.984 kB / 400.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.04954, allocations: 2.423 MB / 402.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.04955, allocations: 4 kB / 402.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.05064, allocations: 243.7 kB / 403.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.05065, allocations: 8 kB / 403.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.05072, allocations: 24 kB / 403.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/0.05074, allocations: 11.98 kB / 403.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.05075, allocations: 8.219 kB / 403.2 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.0539, allocations: 2.224 MB / 405.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.05428, allocations: 119.5 kB / 405.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.05439, allocations: 28 kB / 405.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.05496, allocations: 35.98 kB / 405.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.05517, allocations: 92.38 kB / 405.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/0.05523, allocations: 35.98 kB / 405.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003776/0.05561, allocations: 327 kB / 406.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05561, allocations: 0 / 406.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.05653, allocations: 199.9 kB / 406.3 MB, free: 4.902 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.0002398/0.05677, allocations: 135 kB / 406.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.0585, allocations: 0.8506 MB / 407.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.05851, allocations: 0 / 407.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.05935, allocations: 462.4 kB / 407.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.06065, allocations: 154.1 kB / 407.9 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.0644, allocations: 1.978 MB / 409.8 MB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.06485, allocations: 353.1 kB / 410.2 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.06524, allocations: 98.56 kB / 410.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.06545, allocations: 68.48 kB / 410.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06545, allocations: 0 / 410.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of Templates: time 0.01686/0.08231, allocations: 7.36 MB / 417.7 MB, free: 9.441 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.231188792968169]