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.001203/0.001203, allocations: 95.2 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.001042/0.001042, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9071/0.9071, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1243/0.1243, allocations: 32.37 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.844e-06/1.844e-06, allocations: 0 / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.197e-05, allocations: 4.281 kB / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004411/0.004433, allocations: 4.019 MB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.006621, allocations: 1.106 MB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.007043, allocations: 15.88 kB / 352.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.007309, allocations: 102.9 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.007778, allocations: 218 kB / 353.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.008374, allocations: 203.5 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007189/0.009093, allocations: 0.8013 MB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.009394, allocations: 156.1 kB / 354.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005246/0.009919, allocations: 455 kB / 354.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.01024, allocations: 263.2 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.01032, allocations: 60 kB / 355 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.01049, allocations: 83.92 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.0106, allocations: 155.4 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.01081, allocations: 235.5 kB / 355.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.01143, allocations: 0.5448 MB / 356 MB, free: 1.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01143, allocations: 4 kB / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01143, allocations: 0 / 356 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.01144, 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.001355/0.0128, allocations: 1.025 MB / 357 MB, free: 15.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.01284, allocations: 8.031 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.01304, allocations: 128.5 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.01353, allocations: 342.4 kB / 357.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.01359, allocations: 49.62 kB / 357.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.0137, allocations: 68.31 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.01459, allocations: 0.5027 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.01462, allocations: 20.03 kB / 358.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.01467, allocations: 20.38 kB / 358.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.01469, allocations: 19.94 kB / 358.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.01529, allocations: 273.6 kB / 358.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.01799, allocations: 2.152 MB / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008737/0.01886, allocations: 0.5359 MB / 361.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.01918, allocations: 211.2 kB / 361.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.01929, allocations: 16.5 kB / 361.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.01934, allocations: 61.75 kB / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/0.01934, allocations: 0 / 361.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.004409/0.02375, allocations: 3.277 MB / 364.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.02384, allocations: 226.3 kB / 364.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.02412, allocations: 406.6 kB / 365.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.02416, allocations: 49.64 kB / 365.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000532/0.02469, allocations: 328.2 kB / 365.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.0249, allocations: 428.2 kB / 366.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.02507, allocations: 176.6 kB / 366.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.02522, allocations: 0.5586 MB / 366.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.02545, allocations: 150.5 kB / 367 MB, free: 5.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.02578, allocations: 406.7 kB / 367.4 MB, free: 4.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.0264, allocations: 0.6142 MB / 368 MB, free: 4.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.02641, allocations: 0 / 368 MB, free: 4.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0008302/0.02724, allocations: 0.7549 MB / 368.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.02726, allocations: 8 kB / 368.8 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.02727, allocations: 4 kB / 368.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.02729, allocations: 8 kB / 368.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.02783, allocations: 276 kB / 369 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.02785, allocations: 19.94 kB / 369.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.02804, allocations: 40.05 kB / 369.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.02809, allocations: 47.98 kB / 369.1 MB, free: 3.074 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.0001637/0.02825, allocations: 216.3 kB / 369.4 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.02841, allocations: 111.6 kB / 369.5 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.02861, allocations: 175.1 kB / 369.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.02862, allocations: 16 kB / 369.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.02863, allocations: 3.938 kB / 369.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.02864, allocations: 11.98 kB / 369.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.03055, allocations: 2.024 MB / 371.7 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.03056, allocations: 4.281 kB / 371.7 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.03109, allocations: 243.7 kB / 371.9 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.0311, allocations: 8 kB / 371.9 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.03114, allocations: 27.98 kB / 372 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.03115, allocations: 11.94 kB / 372 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.03115, allocations: 4 kB / 372 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.03268, allocations: 1.776 MB / 373.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.03284, allocations: 127.5 kB / 373.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.03289, allocations: 24 kB / 373.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.03317, allocations: 39.97 kB / 373.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.03328, allocations: 92.38 kB / 374 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.03331, allocations: 32 kB / 374.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.03346, allocations: 263.1 kB / 374.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03346, allocations: 0 / 374.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005237/0.03398, allocations: 196 kB / 374.5 MB, free: 13.54 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.0001603/0.03414, allocations: 139.7 kB / 374.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.03479, allocations: 0.5564 MB / 375.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.0348, allocations: 0 / 375.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.03511, 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.0007357/0.03584, allocations: 145.4 kB / 375.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.03801, allocations: 1.845 MB / 377.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.03814, allocations: 173.1 kB / 377.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.03836, allocations: 89.77 kB / 377.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.0385, allocations: 68.48 kB / 377.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0385, allocations: 0 / 377.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Templates: time 0.00971/0.04821, allocations: 7.207 MB / 385 MB, free: 2.961 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.244078902993351]