Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9876/0.9876, allocations: 173.4 MB / 201.1 MB, free: 9.367 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.627e-05, allocations: 6.25 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00306/0.003076, allocations: 3.5 MB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.004112, allocations: 0.8801 MB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.004249, allocations: 11.94 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.004406, allocations: 83.16 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.004588, allocations: 154.5 kB / 272.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.004914, allocations: 159.7 kB / 272.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.005364, allocations: 0.6148 MB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.00559, allocations: 134 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.005897, allocations: 351.3 kB / 273.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.006095, allocations: 215.4 kB / 274.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.006156, allocations: 52 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.00621, allocations: 56 kB / 274.2 MB, free: 260 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.006275, allocations: 119.6 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.006412, allocations: 191.6 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.006766, allocations: 414.4 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006769, allocations: 0 / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00677, allocations: 0 / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.006776, allocations: 0 / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0009485/0.007725, allocations: 0.8465 MB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.007766, allocations: 8.922 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.007878, allocations: 96.56 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.008171, allocations: 279.2 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.008212, allocations: 37.38 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.008274, allocations: 52.36 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.008777, allocations: 347.7 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.008802, allocations: 8.141 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.008834, allocations: 16.38 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.008853, allocations: 15.94 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.009215, allocations: 241.7 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.01071, allocations: 1.137 MB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.01117, allocations: 395 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.01152, allocations: 254 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.01156, allocations: 12.66 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.01159, allocations: 42.05 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.355e-06/0.01159, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003011/0.0146, allocations: 2.203 MB / 280.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.01464, allocations: 68.41 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01482, allocations: 284.3 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.01486, allocations: 37.7 kB / 281.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01496, allocations: 252.2 kB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.01513, allocations: 364.8 kB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.01526, allocations: 152.3 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01541, allocations: 0.5352 MB / 282.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.01561, allocations: 137.9 kB / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.01586, allocations: 225.9 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.01631, allocations: 402.9 kB / 283.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01632, allocations: 0 / 283.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006338/0.01695, allocations: 0.5753 MB / 283.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.01697, allocations: 4 kB / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01698, allocations: 0 / 283.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01699, allocations: 8 kB / 283.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.01741, allocations: 203.6 kB / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.01742, allocations: 4 kB / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.01754, allocations: 43.98 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.01757, allocations: 23.98 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.000141/0.01771, allocations: 204.4 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.0178, allocations: 87.67 kB / 284.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.01788, allocations: 73.36 kB / 284.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.01788, allocations: 12 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.01789, allocations: 4 kB / 284.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.0179, allocations: 3.984 kB / 284.5 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.01937, allocations: 1.584 MB / 286.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.01938, allocations: 4 kB / 286.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.01978, allocations: 203.7 kB / 286.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.01978, allocations: 8 kB / 286.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.01982, allocations: 23.98 kB / 286.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.01982, allocations: 8 kB / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.01983, allocations: 11.94 kB / 286.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.02081, allocations: 1.094 MB / 287.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.02085, allocations: 55.66 kB / 287.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.0209, allocations: 24 kB / 287.5 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.02105, allocations: 31.98 kB / 287.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.02114, allocations: 80.75 kB / 287.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.02117, allocations: 35.98 kB / 287.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.332e-05/0.02126, allocations: 193.1 kB / 287.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02126, allocations: 0 / 287.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.02156, allocations: 156 kB / 288 MB, free: 1.918 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001118/0.02168, allocations: 135 kB / 288.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.02225, allocations: 0.4942 MB / 288.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02225, allocations: 0 / 288.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.02255, allocations: 320.1 kB / 288.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.02303, allocations: 139.3 kB / 289 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09241/0.1154, allocations: 1.353 MB / 290.4 MB, free: 27.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1155, allocations: 141.5 kB / 290.5 MB, free: 27.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.1158, allocations: 74.23 kB / 290.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1159, allocations: 58.53 kB / 290.7 MB, free: 27.86 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1159, allocations: 2.781 kB / 290.7 MB, free: 27.86 MB / 266.7 MB Notification: Performance of Templates: time 0.008745/0.1247, allocations: 6.964 MB / 297.6 MB, free: 26.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.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.7516336706466973]