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.001081/0.001081, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001241/0.001241, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.578 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.2919/0.2919, allocations: 34.87 MB / 296.3 MB, free: 0.5312 MB / 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.864e-06/1.864e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.641e-05, allocations: 3.016 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003819/0.003845, allocations: 4.096 MB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.006015, allocations: 1.16 MB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.006329, allocations: 23.88 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.006544, allocations: 98.95 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.006931, allocations: 217.9 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.007484, allocations: 243.3 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.008226, allocations: 0.8245 MB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.008836, allocations: 160.1 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.009444, allocations: 467 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.00975, allocations: 271.2 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.009822, allocations: 56 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.00997, allocations: 87.92 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.01006, allocations: 151.4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.01024, allocations: 247.3 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.01077, allocations: 0.5565 MB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01077, allocations: 0 / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01077, allocations: 0 / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01079, allocations: 4 kB / 387.4 MB, free: 9.461 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.00116/0.01195, allocations: 1.041 MB / 388.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01198, allocations: 12.03 kB / 388.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.01237, allocations: 184.3 kB / 388.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.01279, allocations: 378.2 kB / 389 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.01283, allocations: 45.69 kB / 389 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.01291, allocations: 68.28 kB / 389.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.01354, allocations: 0.5111 MB / 389.6 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.01357, allocations: 8.141 kB / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.01361, allocations: 31.92 kB / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01362, allocations: 16 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.01402, allocations: 272.6 kB / 389.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.01623, allocations: 2.154 MB / 392 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.017, allocations: 0.5279 MB / 392.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.01724, allocations: 211.2 kB / 392.8 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.01736, allocations: 28.42 kB / 392.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.0174, allocations: 53.83 kB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.617e-06/0.01741, allocations: 3.984 kB / 392.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.003857/0.02126, allocations: 3.332 MB / 396.2 MB, free: 48 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.02135, allocations: 222.2 kB / 396.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.02166, allocations: 438.5 kB / 396.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.0217, allocations: 45.7 kB / 396.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.02186, allocations: 328.2 kB / 397.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.02209, allocations: 428.3 kB / 397.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.02254, allocations: 188.6 kB / 397.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.0227, allocations: 0.5508 MB / 398.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.02294, allocations: 150.5 kB / 398.5 MB, free: 13.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.02329, allocations: 410.7 kB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.02395, allocations: 0.6234 MB / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.02395, allocations: 11.88 kB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008643/0.02482, allocations: 0.7385 MB / 400.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.02484, allocations: 8.438 kB / 400.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.02485, allocations: 8 kB / 400.3 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.02487, allocations: 15.94 kB / 400.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.02543, allocations: 271.6 kB / 400.6 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.02544, allocations: 12 kB / 400.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.02563, allocations: 39.98 kB / 400.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.02568, allocations: 36 kB / 400.7 MB, free: 11.29 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.0001714/0.02585, allocations: 224.3 kB / 400.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.02601, allocations: 119.5 kB / 401 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.02623, allocations: 179.1 kB / 401.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.02624, allocations: 19.92 kB / 401.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.02625, allocations: 4 kB / 401.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.02626, allocations: 3.984 kB / 401.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.02819, allocations: 2.032 MB / 403.2 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.02819, allocations: 4 kB / 403.2 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.02872, allocations: 239.6 kB / 403.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.02873, allocations: 8 kB / 403.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.02877, allocations: 31.98 kB / 403.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.02878, allocations: 8 kB / 403.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.02878, allocations: 4 kB / 403.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.03031, allocations: 1.779 MB / 405.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.03046, allocations: 127.4 kB / 405.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.03052, allocations: 24 kB / 405.5 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.03079, allocations: 39.92 kB / 405.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.03092, allocations: 88.44 kB / 405.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.03095, allocations: 39.92 kB / 405.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.03111, allocations: 275.1 kB / 405.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03111, allocations: 4 kB / 405.9 MB, free: 5.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000535/0.03165, allocations: 196 kB / 406.1 MB, free: 5.715 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.0001636/0.03181, allocations: 131.6 kB / 406.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.03251, allocations: 0.5564 MB / 406.8 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.03251, allocations: 0 / 406.8 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.03283, allocations: 317.6 kB / 407.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.03362, allocations: 166.4 kB / 407.2 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.03584, allocations: 1.861 MB / 409.1 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.03598, allocations: 181.2 kB / 409.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.03624, allocations: 98 kB / 409.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.03637, allocations: 64.48 kB / 409.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.03637, allocations: 0 / 409.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of Templates: time 0.01163/0.048, allocations: 7.746 MB / 417.2 MB, free: 10.6 MB / 394.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 -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: 3.311504669021815]