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.001182/0.001182, 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.001412/0.001412, 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 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.031 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.072e-06/1.072e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.223e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003267/0.00328, allocations: 3.593 MB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.004427, allocations: 0.9816 MB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004553, allocations: 11.94 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.004723, allocations: 91.09 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.004923, allocations: 174.4 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.005183, allocations: 163.6 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.005562, allocations: 0.6498 MB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.00574, allocations: 142.6 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.00603, allocations: 375.2 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.006225, allocations: 215.4 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.006273, allocations: 48 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.006351, allocations: 60 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.006409, allocations: 131.5 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.006521, allocations: 195.6 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.006825, allocations: 442.3 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006827, allocations: 0 / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006828, allocations: 0 / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006832, allocations: 0 / 280.6 MB, free: 9.746 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.0006931/0.007525, allocations: 0.7527 MB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.563e-05/0.007551, allocations: 8.031 kB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.007674, allocations: 80.88 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007897, allocations: 253.5 kB / 281.7 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.007925, allocations: 37.38 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.00797, allocations: 55.89 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.008243, allocations: 303.1 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.008257, allocations: 4 kB / 282.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.008278, allocations: 20 kB / 282.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.008287, allocations: 12 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.008467, allocations: 158.8 kB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.009833, allocations: 0.8612 MB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.01012, allocations: 332.4 kB / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.01035, allocations: 199.7 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.01038, allocations: 20.66 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.0104, allocations: 43.16 kB / 283.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.523e-06/0.0104, allocations: 0 / 283.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002564/0.01296, allocations: 2.2 MB / 286 MB, free: 4.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.01299, allocations: 64.41 kB / 286 MB, free: 4.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01312, allocations: 262.9 kB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.01315, allocations: 45.69 kB / 286.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.01321, allocations: 170.3 kB / 286.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.01336, allocations: 388.5 kB / 286.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01348, allocations: 150.6 kB / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.01357, allocations: 366.7 kB / 287.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.01367, allocations: 85.95 kB / 287.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.01381, allocations: 169.4 kB / 287.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.01411, allocations: 358.1 kB / 288 MB, free: 2.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01411, allocations: 4 kB / 288 MB, free: 2.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000344/0.01445, allocations: 391.4 kB / 288.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.01446, allocations: 8 kB / 288.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01447, allocations: 3.938 kB / 288.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01448, allocations: 7.984 kB / 288.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.0149, allocations: 226.6 kB / 288.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01491, allocations: 4 kB / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.01502, allocations: 28.06 kB / 288.6 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.01504, allocations: 23.98 kB / 288.7 MB, free: 1.523 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.0001121/0.01515, allocations: 153.7 kB / 288.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.01522, allocations: 75.88 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.01529, allocations: 77.56 kB / 289 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.0153, allocations: 12 kB / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0153, allocations: 0 / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.01531, allocations: 3.984 kB / 289 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1037/0.119, allocations: 1.166 MB / 290.1 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.1191, allocations: 8.234 kB / 290.1 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.1197, allocations: 220.5 kB / 290.4 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.1197, allocations: 12.47 kB / 290.4 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.1197, allocations: 25.91 kB / 290.4 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.1197, allocations: 11 kB / 290.4 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1197, allocations: 11.05 kB / 290.4 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.1206, allocations: 0.7927 MB / 291.2 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.1206, allocations: 54.94 kB / 291.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1207, allocations: 26.72 kB / 291.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1208, allocations: 26.91 kB / 291.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.1209, allocations: 85.7 kB / 291.4 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.121, allocations: 26.31 kB / 291.4 MB, free: 25.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.121, allocations: 92.52 kB / 291.5 MB, free: 25.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.121, allocations: 1.125 kB / 291.5 MB, free: 25.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.1214, allocations: 157.2 kB / 291.7 MB, free: 25.15 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.000111/0.1215, allocations: 115.8 kB / 291.8 MB, free: 25.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.122, allocations: 419.9 kB / 292.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.122, allocations: 3.688 kB / 292.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.1223, allocations: 275.9 kB / 292.5 MB, free: 25.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1227, allocations: 150.3 kB / 292.6 MB, free: 25.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1241, allocations: 1.227 MB / 293.8 MB, free: 24.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.1242, allocations: 148.7 kB / 294 MB, free: 24.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1244, allocations: 82.3 kB / 294.1 MB, free: 24.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.1246, allocations: 192.3 kB / 294.3 MB, free: 24.28 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1246, allocations: 0 / 294.3 MB, free: 24.28 MB / 266.7 MB Notification: Performance of Templates: time 0.0102/0.1348, allocations: 7.915 MB / 302.2 MB, free: 22.12 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 -s gbode -gbm=radauIIA3 -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.7098037297837436]