Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.00141/0.00141, 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.001639/0.001639, allocations: 158.5 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.9666/0.9666, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.637e-05, allocations: 2.312 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003641/0.003667, allocations: 3.554 MB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005307, allocations: 0.9778 MB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.005612, allocations: 11.94 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.005835, allocations: 87.09 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.006197, allocations: 170.4 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.006681, allocations: 167.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.007303, allocations: 0.6459 MB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.00755, allocations: 146.6 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.00806, allocations: 375.2 kB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.008349, allocations: 215.4 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.008418, allocations: 52 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.008516, allocations: 55.98 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.008598, allocations: 127.5 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.008769, allocations: 203.5 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.009219, allocations: 434.4 kB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009222, allocations: 0 / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.009223, allocations: 0 / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.00923, allocations: 3.938 kB / 280.6 MB, free: 9.832 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0009866/0.01022, allocations: 0.745 MB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01025, allocations: 11.97 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.01045, allocations: 92.86 kB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.01102, allocations: 245.5 kB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.01106, allocations: 37.38 kB / 281.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.01113, allocations: 55.88 kB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.01153, allocations: 307 kB / 282 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.01155, allocations: 4 kB / 282 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.01158, allocations: 16 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01159, allocations: 12 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.01184, allocations: 166.9 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01327, allocations: 0.8533 MB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.01364, allocations: 332.4 kB / 283.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.01394, allocations: 203.7 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.01398, allocations: 16.64 kB / 283.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.01401, allocations: 39.22 kB / 283.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.395e-06/0.01401, allocations: 0 / 283.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.003526/0.01753, allocations: 2.196 MB / 285.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.01757, allocations: 64.41 kB / 285.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.01775, allocations: 254.9 kB / 286.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.01779, allocations: 41.7 kB / 286.2 MB, free: 4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.01787, allocations: 178.2 kB / 286.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.01809, allocations: 388.5 kB / 286.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.01826, allocations: 154.5 kB / 286.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01837, allocations: 370.7 kB / 287.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.01851, allocations: 85.95 kB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.0187, allocations: 169.4 kB / 287.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.01909, allocations: 350.2 kB / 287.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01909, allocations: 0 / 287.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0004871/0.01958, allocations: 399.4 kB / 288.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.0196, allocations: 11.28 kB / 288.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.0196, allocations: 3.938 kB / 288.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01962, allocations: 8 kB / 288.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.02013, allocations: 195.7 kB / 288.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.02014, allocations: 4 kB / 288.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.0203, allocations: 24.05 kB / 288.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.02033, allocations: 28 kB / 288.5 MB, free: 1.641 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 (117): * Single equations (assignments): 117 * 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.0001496/0.02048, allocations: 161.6 kB / 288.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.02081, allocations: 75.94 kB / 288.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.02091, allocations: 81.5 kB / 288.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.02092, allocations: 8 kB / 288.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.02092, allocations: 4 kB / 288.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.02093, allocations: 7.969 kB / 288.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.02246, allocations: 1.172 MB / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.02246, allocations: 4.594 kB / 290 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1007/0.1232, allocations: 193.5 kB / 290.2 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.1232, allocations: 6.688 kB / 290.2 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.1232, allocations: 28.73 kB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.1233, allocations: 8.75 kB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1233, allocations: 11.53 kB / 290.3 MB, free: 25.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.1241, allocations: 0.7942 MB / 291.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.1242, allocations: 49.91 kB / 291.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.1243, allocations: 26.03 kB / 291.1 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1244, allocations: 30.56 kB / 291.2 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.1245, allocations: 80.91 kB / 291.3 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.1246, allocations: 26.34 kB / 291.3 MB, free: 25.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1246, allocations: 92.39 kB / 291.4 MB, free: 25.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1246, allocations: 0 / 291.4 MB, free: 25.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004096/0.125, allocations: 158.1 kB / 291.5 MB, free: 25.36 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 (107): * Single equations (assignments): 107 * 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.0001401/0.1252, allocations: 117.9 kB / 291.6 MB, free: 25.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.1257, allocations: 417.8 kB / 292.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.1257, allocations: 3 kB / 292.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.126, allocations: 274 kB / 292.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1264, allocations: 150.5 kB / 292.5 MB, free: 25.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.128, allocations: 1.22 MB / 293.7 MB, free: 24.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1281, allocations: 145.2 kB / 293.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.1283, allocations: 83.28 kB / 293.9 MB, free: 24.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.1286, allocations: 191.7 kB / 294.1 MB, free: 24.51 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1286, allocations: 0 / 294.1 MB, free: 24.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01116/0.1397, allocations: 7.782 MB / 301.9 MB, free: 22.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.846531988121569]