Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009101/0.0009101, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009721/0.0009721, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9546/0.9546, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2574/0.2574, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.661e-05, allocations: 5.125 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004205/0.004231, allocations: 4.079 MB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.006412, allocations: 1.2 MB / 331.2 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.006644, allocations: 15.88 kB / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.006821, allocations: 106.9 kB / 331.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.007149, allocations: 221.9 kB / 331.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.0076, allocations: 235.4 kB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.008155, allocations: 0.8339 MB / 332.6 MB, free: 444 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.008393, allocations: 162 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004047/0.008798, allocations: 475 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.009043, allocations: 259.2 kB / 333.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.009101, allocations: 60 kB / 333.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.009232, allocations: 91.92 kB / 333.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.009316, allocations: 155.4 kB / 333.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.00947, allocations: 247.4 kB / 334 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.009899, allocations: 0.5564 MB / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.009903, allocations: 0 / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.009905, allocations: 0 / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.009912, allocations: 0 / 334.6 MB, free: 14.45 MB / 314.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.0009236/0.01084, allocations: 0.9173 MB / 335.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01087, allocations: 12.03 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.01121, allocations: 164.8 kB / 335.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.01154, allocations: 315.5 kB / 336 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.01158, allocations: 49.69 kB / 336 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.01164, allocations: 72.3 kB / 336.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.01208, allocations: 471.4 kB / 336.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.01211, allocations: 8.141 kB / 336.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.01214, allocations: 27.94 kB / 336.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.01215, allocations: 12 kB / 336.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.01243, allocations: 206.5 kB / 336.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.01397, allocations: 1.593 MB / 338.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.01443, allocations: 434.1 kB / 338.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.01457, allocations: 155.4 kB / 339 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.01464, allocations: 24.48 kB / 339 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.01467, allocations: 50.98 kB / 339.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.485e-06/0.01468, allocations: 0 / 339.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.003314/0.01799, allocations: 2.759 MB / 341.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.01806, allocations: 230.2 kB / 342 MB, free: 6.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.01825, allocations: 351.2 kB / 342.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.01829, allocations: 49.7 kB / 342.4 MB, free: 6.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.01838, allocations: 234.4 kB / 342.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.01856, allocations: 436.2 kB / 343.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.01896, allocations: 182.8 kB / 343.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.01906, allocations: 394.6 kB / 343.7 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01919, allocations: 102.6 kB / 343.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.0194, allocations: 300.4 kB / 344 MB, free: 4.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.01982, allocations: 0.5132 MB / 344.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01982, allocations: 0 / 344.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0004866/0.02031, allocations: 0.5087 MB / 345.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.02032, allocations: 8 kB / 345.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.02033, allocations: 4 kB / 345.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.02034, allocations: 12 kB / 345.1 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.02094, allocations: 324.9 kB / 345.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.02095, allocations: 16.12 kB / 345.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.02112, allocations: 39.98 kB / 345.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.02116, allocations: 28 kB / 345.5 MB, free: 2.879 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.0001437/0.0213, allocations: 176.4 kB / 345.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.02144, allocations: 87.92 kB / 345.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.02161, allocations: 163 kB / 345.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.02162, allocations: 12 kB / 345.9 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.02163, allocations: 4 kB / 345.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.02163, allocations: 7.984 kB / 345.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.02303, allocations: 1.42 MB / 347.4 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02303, allocations: 288 / 347.4 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.02362, allocations: 283.6 kB / 347.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.02362, allocations: 8 kB / 347.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.02366, allocations: 35.92 kB / 347.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.02366, allocations: 15.88 kB / 347.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.02367, allocations: 4 kB / 347.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.02444, allocations: 1.236 MB / 348.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.02456, allocations: 75.52 kB / 349 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.02461, allocations: 27.98 kB / 349 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.02489, allocations: 31.92 kB / 349.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.02499, allocations: 84.52 kB / 349.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.02502, allocations: 27.98 kB / 349.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.02511, allocations: 148.6 kB / 349.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02511, allocations: 3.938 kB / 349.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004667/0.02558, allocations: 204 kB / 349.5 MB, free: 14.72 MB / 330.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.0001409/0.02572, allocations: 112.7 kB / 349.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.02628, allocations: 477.2 kB / 350.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.02629, allocations: 4 kB / 350.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.02678, allocations: 278.2 kB / 350.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.02756, allocations: 148.1 kB / 350.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.02913, allocations: 1.523 MB / 352 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.02926, allocations: 181.2 kB / 352.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.02948, allocations: 97.92 kB / 352.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.02976, allocations: 205.3 kB / 352.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02976, allocations: 4 kB / 352.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Templates: time 0.01034/0.0401, allocations: 8.071 MB / 360.6 MB, free: 3.727 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9750834107398987]