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.001019/0.001019, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001141/0.001141, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9366/0.9366, allocations: 177 MB / 205.9 MB, free: 4.453 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.512e-06/1.512e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.203e-05, allocations: 4.281 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00342/0.003442, allocations: 3.554 MB / 277.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.004892, allocations: 0.9323 MB / 278.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.005057, allocations: 16.53 kB / 278.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.005221, allocations: 83.16 kB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.005576, allocations: 180.8 kB / 278.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.005951, allocations: 167.6 kB / 279 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.006432, allocations: 0.642 MB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.006649, allocations: 153.8 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.007073, allocations: 371.3 kB / 280.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.007295, allocations: 215.3 kB / 280.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.007349, allocations: 52 kB / 280.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.007432, allocations: 64 kB / 280.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.007499, allocations: 123.5 kB / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.007629, allocations: 195.6 kB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.007971, allocations: 438.3 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.007973, allocations: 0 / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007973, allocations: 4 kB / 281.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007978, allocations: 0 / 281.3 MB, free: 13.13 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.0008599/0.008838, allocations: 0.8735 MB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.008869, allocations: 16.03 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.00903, allocations: 104.6 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.009588, allocations: 288.2 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.009623, allocations: 37.38 kB / 282.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.00968, allocations: 55.89 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.01001, allocations: 295.1 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01003, allocations: 7.984 kB / 282.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.01006, allocations: 20 kB / 282.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.01007, allocations: 16 kB / 282.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.01029, allocations: 182.8 kB / 283.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.01155, allocations: 1.091 MB / 284.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.01188, allocations: 356.4 kB / 284.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.01214, allocations: 218.1 kB / 284.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.01217, allocations: 12.66 kB / 284.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.0122, allocations: 45.98 kB / 284.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.773e-06/0.0122, allocations: 0 / 284.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002404/0.0146, allocations: 2.012 MB / 286.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.01464, allocations: 64.41 kB / 286.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.01479, allocations: 310.1 kB / 287.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.01482, allocations: 45.64 kB / 287.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01493, allocations: 256.3 kB / 287.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.01511, allocations: 376.6 kB / 287.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.01525, allocations: 164.2 kB / 288 MB, free: 6.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01539, allocations: 0.539 MB / 288.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01551, allocations: 101.9 kB / 288.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.01568, allocations: 193.8 kB / 288.9 MB, free: 5.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.016, allocations: 354.8 kB / 289.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01601, allocations: 8 kB / 289.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0007269/0.01673, allocations: 0.5206 MB / 289.7 MB, free: 4.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01675, allocations: 8 kB / 289.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01675, allocations: 0 / 289.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01676, allocations: 7.938 kB / 289.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.01716, allocations: 199.7 kB / 290 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01717, allocations: 4 kB / 290 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01729, allocations: 28.06 kB / 290 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.01732, allocations: 23.98 kB / 290 MB, free: 4.09 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.0001442/0.01746, allocations: 208.3 kB / 290.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.01754, allocations: 91.62 kB / 290.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.01763, allocations: 77.56 kB / 290.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.01763, allocations: 11.94 kB / 290.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01764, allocations: 0 / 290.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01765, allocations: 7.984 kB / 290.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.01899, allocations: 1.487 MB / 291.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.019, allocations: 4 kB / 291.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.01938, allocations: 199.7 kB / 292.1 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.01939, allocations: 8 kB / 292.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.01941, allocations: 24 kB / 292.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01942, allocations: 8 kB / 292.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.01943, allocations: 11.92 kB / 292.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.02022, allocations: 1.023 MB / 293.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.02028, allocations: 59.61 kB / 293.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.02034, allocations: 24 kB / 293.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.02057, allocations: 24 kB / 293.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.02065, allocations: 84.73 kB / 293.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.02068, allocations: 28 kB / 293.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.02076, allocations: 210.9 kB / 293.6 MB, free: 308 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02076, allocations: 3.938 kB / 293.6 MB, free: 304 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.02107, allocations: 156 kB / 293.7 MB, free: 148 kB / 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 9.304e-05/0.02117, allocations: 135 kB / 293.9 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.02157, allocations: 450.1 kB / 294.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02158, allocations: 4 kB / 294.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.02181, allocations: 284.2 kB / 294.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.02228, allocations: 149.2 kB / 294.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.02365, allocations: 1.378 MB / 296.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.539e-05/0.02374, allocations: 143.9 kB / 296.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.02393, allocations: 85.2 kB / 296.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.02447, allocations: 222.1 kB / 296.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02447, allocations: 0 / 296.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Templates: time 0.00947/0.03394, allocations: 8.003 MB / 304.6 MB, free: 5.328 MB / 282.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.800081925932318]