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.000961/0.000961, allocations: 95.5 kB / 21.2 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.0009574/0.0009574, allocations: 160.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.9578/0.9578, allocations: 177 MB / 204.8 MB, free: 5.574 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.813e-06/1.813e-06, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.312e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003609/0.003632, allocations: 3.618 MB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004971, allocations: 0.9353 MB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.005124, allocations: 11.94 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.005294, allocations: 87.09 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.005513, allocations: 174.4 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.005854, allocations: 171.6 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.006265, allocations: 0.642 MB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.006512, allocations: 138 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.007235, allocations: 383.1 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.007544, allocations: 215.4 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.007627, allocations: 52 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.007747, allocations: 56 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.007841, allocations: 123.5 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.008039, allocations: 199.5 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.008474, allocations: 434.4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008476, allocations: 0 / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008477, allocations: 4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.008482, allocations: 0 / 280.1 MB, free: 10.21 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.0008727/0.009355, allocations: 0.8736 MB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.009388, allocations: 12.03 kB / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.009552, allocations: 108.5 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.009835, allocations: 292.2 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.009867, allocations: 37.38 kB / 281.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.009921, allocations: 51.89 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.01033, allocations: 335.1 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01034, allocations: 7.938 kB / 281.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.01037, allocations: 20 kB / 281.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01038, allocations: 12 kB / 281.8 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.0107, allocations: 237.7 kB / 282.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.012, allocations: 1.129 MB / 283.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.01243, allocations: 404.4 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.01276, allocations: 246.5 kB / 283.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.0128, allocations: 16.64 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.01282, allocations: 46.05 kB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/0.01283, allocations: 0 / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002929/0.01576, allocations: 2.246 MB / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.01579, allocations: 64.41 kB / 286.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01597, allocations: 310.3 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.016, allocations: 41.7 kB / 286.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01611, allocations: 252.3 kB / 286.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.01628, allocations: 380.6 kB / 287.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.01642, allocations: 156.3 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01656, allocations: 0.5313 MB / 287.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.01676, allocations: 133.9 kB / 288 MB, free: 2.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.01699, allocations: 233.9 kB / 288.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.01745, allocations: 410.9 kB / 288.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01745, allocations: 0 / 288.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0009228/0.01837, allocations: 0.587 MB / 289.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.0184, allocations: 7.938 kB / 289.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.0184, allocations: 4 kB / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.01843, allocations: 4 kB / 289.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.01905, allocations: 199.8 kB / 289.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.01907, allocations: 4 kB / 289.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.01926, allocations: 31.98 kB / 289.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.01931, allocations: 28 kB / 289.5 MB, free: 0.5469 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.0001881/0.0195, allocations: 200.4 kB / 289.7 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.01962, allocations: 91.66 kB / 289.8 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.01974, allocations: 77.52 kB / 289.8 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.01975, allocations: 15.98 kB / 289.8 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.01975, allocations: 0 / 289.8 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.01977, allocations: 7.984 kB / 289.9 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.104/0.1238, allocations: 1.586 MB / 291.4 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1238, allocations: 4.188 kB / 291.4 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.1243, allocations: 196.2 kB / 291.6 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/0.1243, allocations: 9.219 kB / 291.6 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.1244, allocations: 29.34 kB / 291.7 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.1244, allocations: 11.25 kB / 291.7 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.1244, allocations: 12.53 kB / 291.7 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1258, allocations: 1.105 MB / 292.8 MB, free: 25.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.1258, allocations: 52.11 kB / 292.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.1259, allocations: 28.41 kB / 292.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1261, allocations: 25.41 kB / 292.9 MB, free: 25.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1262, allocations: 85.5 kB / 293 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.1262, allocations: 38.09 kB / 293 MB, free: 25.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1264, allocations: 216.3 kB / 293.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1264, allocations: 0 / 293.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.1268, allocations: 159 kB / 293.4 MB, free: 24.96 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.0001398/0.1269, allocations: 132.6 kB / 293.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.1276, allocations: 0.4985 MB / 294 MB, free: 24.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1276, allocations: 1.188 kB / 294 MB, free: 24.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.128, allocations: 315.2 kB / 294.3 MB, free: 24.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.1285, allocations: 153 kB / 294.5 MB, free: 24.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1303, allocations: 1.397 MB / 295.9 MB, free: 24.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.1304, allocations: 148.4 kB / 296 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.1307, allocations: 81.97 kB / 296.1 MB, free: 23.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1308, allocations: 59.27 kB / 296.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1308, allocations: 4 kB / 296.2 MB, free: 23.92 MB / 266.7 MB Notification: Performance of Templates: time 0.0106/0.1414, allocations: 7.487 MB / 303.6 MB, free: 21.68 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.769551908131689]