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.001069/0.001069, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009284/0.0009284, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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 0.9393/0.9393, allocations: 158.6 MB / 186 MB, free: 2.789 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.1361/0.1361, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.723e-06/1.723e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.739e-05, allocations: 2.312 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003435/0.003452, allocations: 3.979 MB / 352.1 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.005126, allocations: 1.091 MB / 353.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.005495, allocations: 19.88 kB / 353.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.005729, allocations: 102.9 kB / 353.3 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.006124, allocations: 210 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.006589, allocations: 203.5 kB / 353.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.00714, allocations: 0.8052 MB / 354.5 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.007391, allocations: 156.1 kB / 354.6 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.007833, allocations: 463 kB / 355.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.008061, allocations: 255.3 kB / 355.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.008129, allocations: 56 kB / 355.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.008286, allocations: 95.92 kB / 355.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.008378, allocations: 147.4 kB / 355.6 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.008558, allocations: 247.4 kB / 355.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.009073, allocations: 0.537 MB / 356.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.009076, allocations: 0 / 356.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.009077, allocations: 0 / 356.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.009088, allocations: 0 / 356.4 MB, free: 0.8398 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.001339/0.01043, allocations: 1.033 MB / 357.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.01049, allocations: 12.03 kB / 357.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.01064, allocations: 124.4 kB / 357.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.01102, allocations: 346.3 kB / 357.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.01106, allocations: 41.69 kB / 358 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.01114, allocations: 68.31 kB / 358 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.01171, allocations: 486.6 kB / 358.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.01174, allocations: 16.08 kB / 358.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.01177, allocations: 32.36 kB / 358.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.01179, allocations: 15.94 kB / 358.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.01208, allocations: 212.3 kB / 358.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.01387, allocations: 2.086 MB / 360.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.01449, allocations: 0.5007 MB / 361.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.01468, allocations: 187.1 kB / 361.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.679e-05/0.01476, allocations: 36.47 kB / 361.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.01479, allocations: 49.83 kB / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.01479, allocations: 0 / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.003103/0.01789, allocations: 2.655 MB / 364.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.01799, allocations: 222.2 kB / 364.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.01826, allocations: 406.4 kB / 364.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.01831, allocations: 49.7 kB / 364.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.01848, allocations: 324.1 kB / 365.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.01872, allocations: 432.2 kB / 365.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.01889, allocations: 188.5 kB / 365.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.01908, allocations: 0.5584 MB / 366.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.01923, allocations: 114.5 kB / 366.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.01952, allocations: 378.6 kB / 366.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.02005, allocations: 0.5623 MB / 367.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.02005, allocations: 0 / 367.5 MB, free: 4.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006941/0.02074, allocations: 0.6669 MB / 368.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.02076, allocations: 12.38 kB / 368.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.02077, allocations: 8 kB / 368.2 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.02079, allocations: 8 kB / 368.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.02128, allocations: 271.6 kB / 368.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.0213, allocations: 13.47 kB / 368.4 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02147, allocations: 47.92 kB / 368.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.02151, allocations: 28 kB / 368.5 MB, free: 3.895 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.0001759/0.02169, allocations: 220.3 kB / 368.7 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.02184, allocations: 115.5 kB / 368.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.02203, allocations: 171.2 kB / 369 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.02204, allocations: 12 kB / 369 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.02205, allocations: 4 kB / 369 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.02206, allocations: 12.05 kB / 369 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.02388, allocations: 1.9 MB / 370.9 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.02388, allocations: 7.984 kB / 371 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.02439, allocations: 235.7 kB / 371.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.0244, allocations: 8 kB / 371.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.02444, allocations: 31.98 kB / 371.2 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.02445, allocations: 11.94 kB / 371.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.02445, allocations: 4.281 kB / 371.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.02562, allocations: 1.696 MB / 372.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.02577, allocations: 115.5 kB / 373 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.02582, allocations: 24 kB / 373.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.02611, allocations: 40.05 kB / 373.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.02622, allocations: 92.31 kB / 373.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.02625, allocations: 24 kB / 373.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.02639, allocations: 263 kB / 373.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02639, allocations: 0 / 373.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005824/0.02697, allocations: 192 kB / 373.7 MB, free: 14.59 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.0001754/0.02714, allocations: 139.6 kB / 373.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005703/0.02771, allocations: 498.5 kB / 374.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02772, allocations: 4 kB / 374.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.02802, allocations: 289 kB / 374.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.02876, allocations: 140.7 kB / 374.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.03081, allocations: 1.84 MB / 376.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.03095, allocations: 173.1 kB / 376.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.03119, allocations: 89.77 kB / 376.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.03149, allocations: 222.1 kB / 377 MB, free: 11.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03149, allocations: 0 / 377 MB, free: 11.09 MB / 314.7 MB Notification: Performance of Templates: time 0.01082/0.04231, allocations: 7.904 MB / 384.9 MB, free: 3.289 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.1107536340132356]