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.001161/0.001161, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001104/0.001104, allocations: 168.5 kB / 24.82 MB, free: 8.938 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.9851/0.9851, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.353e-06/1.353e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.211e-05, allocations: 10.25 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003005/0.003017, allocations: 3.55 MB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.004264, allocations: 0.943 MB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.004407, allocations: 11.94 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.004554, allocations: 83.16 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.004744, allocations: 170.4 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.005038, allocations: 171.6 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.005425, allocations: 0.642 MB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.005608, allocations: 137.9 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.005921, allocations: 383.2 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.006112, allocations: 215.3 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.006163, allocations: 52 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.006239, allocations: 56 kB / 279.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.006298, allocations: 119.6 kB / 279.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.006413, allocations: 199.5 kB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.006724, allocations: 442.3 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006726, allocations: 4 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006727, allocations: 0 / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006732, allocations: 0 / 280.5 MB, free: 10.15 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.0007851/0.007517, allocations: 0.8735 MB / 281.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.007548, allocations: 8.031 kB / 281.4 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.007687, allocations: 108.5 kB / 281.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.007931, allocations: 296.2 kB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.007961, allocations: 37.38 kB / 281.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.008011, allocations: 63.86 kB / 281.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.00831, allocations: 291.1 kB / 282.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.008325, allocations: 0 / 282.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.008351, allocations: 20 kB / 282.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.008359, allocations: 12 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.008562, allocations: 186.7 kB / 282.4 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.009703, allocations: 1.095 MB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.01001, allocations: 360.4 kB / 283.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.01025, allocations: 214.9 kB / 284.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.01028, allocations: 24.64 kB / 284.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.0103, allocations: 42.03 kB / 284.1 MB, free: 6.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.572e-06/0.0103, allocations: 0 / 284.1 MB, free: 6.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002457/0.01276, allocations: 2.012 MB / 286.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.01278, allocations: 64.41 kB / 286.2 MB, free: 4.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01293, allocations: 318.1 kB / 286.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.01296, allocations: 37.7 kB / 286.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.01306, allocations: 260.3 kB / 286.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.01321, allocations: 380.7 kB / 287.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.01335, allocations: 156.2 kB / 287.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01347, allocations: 0.539 MB / 287.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01358, allocations: 105.8 kB / 288 MB, free: 2.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.01374, allocations: 193.8 kB / 288.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.01405, allocations: 358.8 kB / 288.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01405, allocations: 4 kB / 288.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0004496/0.0145, allocations: 0.5206 MB / 289 MB, free: 1.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.01451, allocations: 4 kB / 289 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.01452, allocations: 3.984 kB / 289 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01453, allocations: 11.94 kB / 289 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.0149, allocations: 195.7 kB / 289.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.0149, allocations: 7.984 kB / 289.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01501, allocations: 20 kB / 289.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.01504, allocations: 27.98 kB / 289.3 MB, free: 1.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.0001245/0.01517, allocations: 208.4 kB / 289.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.01525, allocations: 95.62 kB / 289.6 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.01533, allocations: 73.56 kB / 289.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.01533, allocations: 15.94 kB / 289.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.01534, allocations: 0 / 289.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.01534, allocations: 7.969 kB / 289.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1117/0.127, allocations: 1.477 MB / 291.2 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.127, allocations: 4.312 kB / 291.2 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.1276, allocations: 195.4 kB / 291.4 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.1276, allocations: 9.062 kB / 291.4 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.1277, allocations: 28.59 kB / 291.4 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.1277, allocations: 14.64 kB / 291.4 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1277, allocations: 5.688 kB / 291.4 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1288, allocations: 1.023 MB / 292.4 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.1289, allocations: 55.09 kB / 292.5 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.1289, allocations: 26.52 kB / 292.5 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1292, allocations: 25.16 kB / 292.5 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1293, allocations: 86.53 kB / 292.6 MB, free: 24.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.1293, allocations: 28.27 kB / 292.7 MB, free: 24.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1294, allocations: 204.6 kB / 292.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1294, allocations: 0 / 292.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.1299, allocations: 157.8 kB / 293 MB, free: 24.82 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.000121/0.13, allocations: 135.4 kB / 293.1 MB, free: 24.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.1307, allocations: 450.5 kB / 293.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1307, allocations: 1.062 kB / 293.6 MB, free: 24.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.131, allocations: 290.7 kB / 293.9 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.1317, allocations: 142.8 kB / 294 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1335, allocations: 1.383 MB / 295.4 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.1337, allocations: 147.5 kB / 295.5 MB, free: 23.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002981/0.1339, allocations: 82.44 kB / 295.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.1343, allocations: 221.8 kB / 295.8 MB, free: 23.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1343, allocations: 0 / 295.8 MB, free: 23.73 MB / 266.7 MB Notification: Performance of Templates: time 0.01237/0.1467, allocations: 7.837 MB / 303.7 MB, free: 21.48 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 -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.812442418653518]