Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9146/0.9146, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.194e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002974/0.002986, allocations: 3.604 MB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004436, allocations: 0.9739 MB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.004595, allocations: 11.94 kB / 278.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.004729, allocations: 87.09 kB / 278.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.004962, allocations: 170.4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.005294, allocations: 175.6 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.005748, allocations: 0.6459 MB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.005935, allocations: 142.6 kB / 279.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.006298, allocations: 383.1 kB / 279.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.006501, allocations: 211.4 kB / 279.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.00655, allocations: 52 kB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.006629, allocations: 56 kB / 280 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.006685, allocations: 123.5 kB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.006805, allocations: 203.5 kB / 280.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.007119, allocations: 438.3 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.007121, allocations: 0 / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.007121, allocations: 4 kB / 280.7 MB, free: 10 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007126, allocations: 0 / 280.7 MB, free: 10 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.0006947/0.007821, allocations: 0.745 MB / 281.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.449e-05/0.007846, allocations: 8.031 kB / 281.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.007972, allocations: 88.88 kB / 281.6 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.008214, allocations: 249.5 kB / 281.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.008247, allocations: 37.38 kB / 281.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.008295, allocations: 63.77 kB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.008559, allocations: 307.1 kB / 282.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.008571, allocations: 0 / 282.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.008592, allocations: 20 kB / 282.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.008599, allocations: 12 kB / 282.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.008778, allocations: 158.9 kB / 282.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.009792, allocations: 0.8573 MB / 283.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.01006, allocations: 332.4 kB / 283.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.01029, allocations: 204 kB / 283.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.01031, allocations: 12.66 kB / 283.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01033, allocations: 43.22 kB / 283.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.573e-06/0.01033, allocations: 4 kB / 283.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002521/0.01286, allocations: 2.191 MB / 286 MB, free: 4.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.01288, allocations: 60.41 kB / 286.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.01301, allocations: 258.9 kB / 286.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01303, allocations: 45.7 kB / 286.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.01309, allocations: 178.2 kB / 286.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.01325, allocations: 384.5 kB / 286.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.01337, allocations: 150.6 kB / 287.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.01346, allocations: 370.7 kB / 287.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.01356, allocations: 89.95 kB / 287.5 MB, free: 3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.01369, allocations: 165.4 kB / 287.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.01398, allocations: 354.1 kB / 288 MB, free: 2.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01398, allocations: 4 kB / 288 MB, free: 2.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0003477/0.01433, allocations: 399.4 kB / 288.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.01434, allocations: 4 kB / 288.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01434, allocations: 3.938 kB / 288.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/0.01435, allocations: 8 kB / 288.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.01476, allocations: 225.2 kB / 288.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01477, allocations: 8 kB / 288.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.01487, allocations: 24 kB / 288.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.0149, allocations: 23.98 kB / 288.7 MB, free: 1.789 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.0001074/0.01501, allocations: 157.7 kB / 288.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.01507, allocations: 75.88 kB / 288.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.01515, allocations: 77.56 kB / 289 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.01516, allocations: 12 kB / 289 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01516, allocations: 0 / 289 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01517, allocations: 3.984 kB / 289 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.01625, allocations: 1.172 MB / 290.2 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01625, allocations: 4 kB / 290.2 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0993/0.1156, allocations: 225 kB / 290.4 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.1156, allocations: 12.22 kB / 290.4 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.1157, allocations: 27.2 kB / 290.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.1157, allocations: 11.47 kB / 290.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1157, allocations: 7.906 kB / 290.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.1166, allocations: 0.7881 MB / 291.3 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.1167, allocations: 57.36 kB / 291.3 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.1168, allocations: 26.25 kB / 291.3 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.117, allocations: 27.02 kB / 291.4 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.1171, allocations: 80.56 kB / 291.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.1171, allocations: 27.84 kB / 291.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.1172, allocations: 91.64 kB / 291.6 MB, free: 25.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1172, allocations: 0.6562 kB / 291.6 MB, free: 25.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.1175, allocations: 161 kB / 291.7 MB, free: 25.42 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.0001139/0.1176, allocations: 118.9 kB / 291.8 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.1181, allocations: 410.9 kB / 292.2 MB, free: 25.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.1181, allocations: 3.781 kB / 292.3 MB, free: 25.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1184, allocations: 274.8 kB / 292.5 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1188, allocations: 144.2 kB / 292.7 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1203, allocations: 1.231 MB / 293.9 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.1204, allocations: 145.6 kB / 294 MB, free: 24.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.1206, allocations: 81.08 kB / 294.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.1209, allocations: 194.4 kB / 294.3 MB, free: 24.56 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1209, allocations: 0 / 294.3 MB, free: 24.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01058/0.1315, allocations: 7.924 MB / 302.2 MB, free: 22.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6865617870353162]