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.001079/0.001079, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001519/0.001519, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9657/0.9657, allocations: 177 MB / 204.8 MB, free: 5.203 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.402e-06/1.402e-06, allocations: 0 / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.237e-05, allocations: 5.266 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003756/0.003779, allocations: 3.618 MB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.005328, allocations: 0.9391 MB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.005516, allocations: 19.88 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.005696, allocations: 83.09 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.005955, allocations: 170.4 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.006379, allocations: 175.6 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.006912, allocations: 0.642 MB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.007145, allocations: 134 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.007595, allocations: 383.1 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.007833, allocations: 215.4 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.007894, allocations: 52 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.007984, allocations: 52 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.008046, allocations: 123.6 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.008179, allocations: 207.5 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.008585, allocations: 430.4 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.008589, allocations: 4 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00859, allocations: 0 / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.008597, allocations: 4 kB / 280.1 MB, free: 10.02 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.001179/0.009776, allocations: 0.8658 MB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.009811, allocations: 12.03 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.009985, allocations: 112.5 kB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.01034, allocations: 292.2 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.01038, allocations: 33.38 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.01044, allocations: 55.89 kB / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.01088, allocations: 335.1 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.01089, allocations: 0 / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.01093, allocations: 20 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.01094, allocations: 12 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.0113, allocations: 237.7 kB / 282.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.01284, allocations: 1.137 MB / 283.2 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.01329, allocations: 400.5 kB / 283.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.01366, allocations: 250.5 kB / 283.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.01371, allocations: 12.66 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.01374, allocations: 42.05 kB / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.743e-06/0.01374, allocations: 0 / 283.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.003144/0.01689, allocations: 2.242 MB / 286.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.01693, allocations: 64.34 kB / 286.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.01716, allocations: 322.3 kB / 286.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.0172, allocations: 41.7 kB / 286.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01732, allocations: 252.3 kB / 286.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.01752, allocations: 380.6 kB / 287.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.01767, allocations: 156.3 kB / 287.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000497/0.01817, allocations: 0.5352 MB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.01837, allocations: 133.9 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.01861, allocations: 221.9 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.01906, allocations: 418.9 kB / 288.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01907, allocations: 4 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006305/0.0197, allocations: 0.5831 MB / 289.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01971, allocations: 7.938 kB / 289.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01972, allocations: 4 kB / 289.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01974, allocations: 7.984 kB / 289.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.02021, allocations: 195.7 kB / 289.4 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.02023, allocations: 4 kB / 289.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.02042, allocations: 24 kB / 289.4 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.02046, allocations: 31.98 kB / 289.5 MB, free: 376 kB / 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.0001426/0.0206, allocations: 208.5 kB / 289.7 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.02069, allocations: 91.67 kB / 289.8 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1211/0.1418, allocations: 78.7 kB / 289.8 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.1418, allocations: 9.125 kB / 289.8 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.1419, allocations: 0.5625 kB / 289.8 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.1419, allocations: 4.797 kB / 289.9 MB, free: 25.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.1441, allocations: 1.591 MB / 291.4 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.1441, allocations: 8.25 kB / 291.5 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.1446, allocations: 193.3 kB / 291.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.1446, allocations: 8.906 kB / 291.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.1446, allocations: 24.77 kB / 291.7 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.1447, allocations: 14.23 kB / 291.7 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1447, allocations: 5.906 kB / 291.7 MB, free: 24.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1458, allocations: 1.108 MB / 292.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.1459, allocations: 57.92 kB / 292.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.1459, allocations: 26.3 kB / 292.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1461, allocations: 26.38 kB / 292.9 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1462, allocations: 84.22 kB / 293 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.1463, allocations: 32.47 kB / 293 MB, free: 24.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1464, allocations: 213.7 kB / 293.2 MB, free: 24.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1464, allocations: 2.125 kB / 293.2 MB, free: 24.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.1468, allocations: 157.9 kB / 293.4 MB, free: 24.33 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.0001281/0.1469, allocations: 134.5 kB / 293.5 MB, free: 24.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.1476, allocations: 0.4944 MB / 294 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1476, allocations: 2.531 kB / 294 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.148, allocations: 320.8 kB / 294.3 MB, free: 24.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.1486, allocations: 144.1 kB / 294.5 MB, free: 24.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1503, allocations: 1.406 MB / 295.9 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1504, allocations: 145.6 kB / 296 MB, free: 23.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1506, allocations: 84.09 kB / 296.1 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1508, allocations: 58.58 kB / 296.2 MB, free: 23.29 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1508, allocations: 0 / 296.2 MB, free: 23.29 MB / 266.7 MB Notification: Performance of Templates: time 0.009814/0.1606, allocations: 7.1 MB / 303.3 MB, free: 21.25 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: 3.10389970196411]