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.0007847/0.0007847, allocations: 75.69 kB / 21.7 MB, free: 2.844 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.0008748/0.0008748, allocations: 163.8 kB / 24.99 MB, free: 9.285 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.9433/0.9433, allocations: 177 MB / 205.2 MB, free: 5.617 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 2.074e-06/2.074e-06, allocations: 0 / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.829e-05, allocations: 6.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005098/0.005126, allocations: 3.602 MB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.007105, allocations: 0.9353 MB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.007359, allocations: 11.94 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.007604, allocations: 87.09 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.007998, allocations: 174.4 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.008546, allocations: 171.6 kB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.009286, allocations: 0.642 MB / 278.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.009593, allocations: 141.9 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.01021, allocations: 379.1 kB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.01058, allocations: 215.4 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.0107, allocations: 52 kB / 279.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.01085, allocations: 52 kB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01096, allocations: 127.5 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.01123, allocations: 199.5 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.01201, allocations: 434.4 kB / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.01201, allocations: 0 / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01202, allocations: 0 / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.01204, allocations: 0 / 280.2 MB, free: 10.55 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.001529/0.01357, allocations: 0.8775 MB / 281.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.01362, allocations: 8.031 kB / 281.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.01392, allocations: 108.6 kB / 281.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.0144, allocations: 292.2 kB / 281.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.01445, allocations: 41.31 kB / 281.5 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.01454, allocations: 55.89 kB / 281.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.01522, allocations: 339 kB / 281.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.01525, allocations: 4 kB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.01529, allocations: 20 kB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.01531, allocations: 12 kB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.01588, allocations: 233.8 kB / 282.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.01809, allocations: 1.129 MB / 283.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.01877, allocations: 407.2 kB / 283.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.0193, allocations: 250.6 kB / 283.9 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.01935, allocations: 16.66 kB / 283.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.01939, allocations: 42.05 kB / 284 MB, free: 6.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/0.01939, allocations: 0 / 284 MB, free: 6.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.004336/0.02373, allocations: 2.239 MB / 286.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.02378, allocations: 64.41 kB / 286.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.024, allocations: 318.3 kB / 286.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.02404, allocations: 45.7 kB / 286.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.02415, allocations: 252.3 kB / 286.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.02432, allocations: 372.7 kB / 287.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.02447, allocations: 152.3 kB / 287.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.02462, allocations: 0.5313 MB / 287.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.02483, allocations: 141.9 kB / 288.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.02508, allocations: 221.9 kB / 288.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.02556, allocations: 414.9 kB / 288.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02557, allocations: 0 / 288.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006664/0.02623, allocations: 0.5909 MB / 289.3 MB, free: 1.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.02625, allocations: 7.938 kB / 289.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.02626, allocations: 0 / 289.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.02628, allocations: 8 kB / 289.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.02673, allocations: 199.7 kB / 289.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.02674, allocations: 4 kB / 289.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.02687, allocations: 20 kB / 289.5 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.0269, allocations: 31.98 kB / 289.5 MB, free: 0.8945 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.0001481/0.02705, allocations: 216.4 kB / 289.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.02713, allocations: 87.67 kB / 289.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.02723, allocations: 81.5 kB / 289.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02724, allocations: 8 kB / 289.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.02724, allocations: 4 kB / 289.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.02725, allocations: 3.984 kB / 289.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1112/0.1385, allocations: 1.588 MB / 291.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1385, allocations: 6.391 kB / 291.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.1389, allocations: 191.2 kB / 291.7 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.139, allocations: 10.12 kB / 291.7 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.139, allocations: 30.91 kB / 291.7 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.139, allocations: 11.91 kB / 291.8 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.139, allocations: 9.469 kB / 291.8 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1401, allocations: 1.106 MB / 292.9 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1402, allocations: 56.8 kB / 292.9 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.1402, allocations: 27.88 kB / 293 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1404, allocations: 27.17 kB / 293 MB, free: 26.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1405, allocations: 84.25 kB / 293.1 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.1405, allocations: 35.17 kB / 293.1 MB, free: 26.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1406, allocations: 217.1 kB / 293.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1406, allocations: 0 / 293.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.141, allocations: 156.5 kB / 293.5 MB, free: 26.55 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.0001057/0.1411, allocations: 131.3 kB / 293.6 MB, free: 26.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006524/0.1418, allocations: 0.4972 MB / 294.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1418, allocations: 1.969 kB / 294.1 MB, free: 26.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.1421, allocations: 319.7 kB / 294.4 MB, free: 26.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.1426, allocations: 139.2 kB / 294.5 MB, free: 26.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1443, allocations: 1.403 MB / 295.9 MB, free: 25.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1444, allocations: 144.2 kB / 296.1 MB, free: 25.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.1446, allocations: 81.91 kB / 296.2 MB, free: 25.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1447, allocations: 63.92 kB / 296.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1447, allocations: 0 / 296.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of Templates: time 0.009775/0.1545, allocations: 7.099 MB / 303.3 MB, free: 23.3 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.8778131569270045]