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.001464/0.001464, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.004395/0.004395, allocations: 173.1 kB / 24.91 MB, free: 8.77 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] 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.2567/0.2567, allocations: 32.8 MB / 294.6 MB, free: 1.211 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 2.465e-06/2.465e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.701e-05, allocations: 4.172 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005276/0.005313, allocations: 4.077 MB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.007361, allocations: 1.203 MB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.007612, allocations: 19.88 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.007803, allocations: 102.9 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.008182, allocations: 221.9 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.008776, allocations: 231.4 kB / 329.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006754/0.009452, allocations: 0.8369 MB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.009704, allocations: 162 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.01028, allocations: 475 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.01058, allocations: 259.2 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.01078, allocations: 60 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.01093, allocations: 91.92 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.01107, allocations: 155.4 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01123, allocations: 247.4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.01173, allocations: 0.5564 MB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01174, allocations: 0 / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01174, allocations: 0 / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.01175, allocations: 0 / 331.9 MB, free: 1.027 MB / 298.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.0009873/0.01274, allocations: 0.9171 MB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.01277, allocations: 12.03 kB / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.01313, allocations: 156.8 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.01347, allocations: 323.5 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.0135, allocations: 49.69 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.01357, allocations: 72.3 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.01404, allocations: 471.4 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.01406, allocations: 8.141 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.01408, allocations: 27.94 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01409, allocations: 12 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.01436, allocations: 206.9 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.01581, allocations: 1.582 MB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.01634, allocations: 453.3 kB / 336.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.01648, allocations: 158.6 kB / 336.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.01655, allocations: 28.47 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.01658, allocations: 47 kB / 336.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.094e-06/0.01658, allocations: 0 / 336.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.0033/0.01988, allocations: 2.752 MB / 339.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.01997, allocations: 226.2 kB / 339.3 MB, free: 9.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.02017, allocations: 359.2 kB / 339.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.02021, allocations: 45.7 kB / 339.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.02031, allocations: 234.4 kB / 340 MB, free: 8.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.0205, allocations: 432.2 kB / 340.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.02065, allocations: 186.9 kB / 340.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.02076, allocations: 394.5 kB / 341 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.02088, allocations: 102.6 kB / 341.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.02112, allocations: 308.4 kB / 341.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.02153, allocations: 0.5015 MB / 341.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02153, allocations: 4 kB / 341.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0004852/0.02202, allocations: 0.5107 MB / 342.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.02203, allocations: 8 kB / 342.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.02204, allocations: 4 kB / 342.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.02206, allocations: 12 kB / 342.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.02266, allocations: 327.9 kB / 342.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.02267, allocations: 8 kB / 342.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02283, allocations: 35.98 kB / 342.8 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.02287, allocations: 35.94 kB / 342.8 MB, free: 5.445 MB / 314.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.0001464/0.02302, allocations: 176.4 kB / 343 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.02316, allocations: 87.92 kB / 343.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.02332, allocations: 163 kB / 343.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.02333, allocations: 12 kB / 343.2 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.02334, allocations: 4 kB / 343.2 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.02334, allocations: 7.984 kB / 343.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.02482, allocations: 1.428 MB / 344.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.02483, allocations: 8.031 kB / 344.7 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.02545, allocations: 276.9 kB / 344.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.02546, allocations: 8 kB / 344.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.02549, allocations: 31.94 kB / 345 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.0255, allocations: 19.86 kB / 345 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.02551, allocations: 4 kB / 345 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.02631, allocations: 1.229 MB / 346.2 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.02644, allocations: 75.52 kB / 346.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.02649, allocations: 23.98 kB / 346.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.02676, allocations: 35.94 kB / 346.4 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.02687, allocations: 88.44 kB / 346.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.0269, allocations: 27.98 kB / 346.5 MB, free: 1.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.027, allocations: 148.6 kB / 346.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.027, allocations: 4 kB / 346.6 MB, free: 1.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000515/0.02751, allocations: 200 kB / 346.8 MB, free: 1.293 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 (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.0001504/0.02766, allocations: 124.1 kB / 346.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.02815, allocations: 467.9 kB / 347.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.02816, allocations: 8.125 kB / 347.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.02839, allocations: 277.2 kB / 347.7 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.02909, allocations: 152.9 kB / 347.8 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.03106, allocations: 1.522 MB / 349.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.0312, allocations: 181.2 kB / 349.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.03144, allocations: 97.98 kB / 349.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.03171, allocations: 201.3 kB / 349.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.03171, allocations: 0 / 349.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01105/0.04277, allocations: 8.082 MB / 357.9 MB, free: 6.281 MB / 330.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 -s gbode -gbm=radauIIA3 -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","",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.238405535928905]