Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001076/0.001076, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001418/0.001418, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.988/0.988, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.901e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005909/0.005938, allocations: 3.494 MB / 255.1 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.008515, allocations: 0.9313 MB / 256 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.009016, allocations: 11.94 kB / 256 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.009299, allocations: 83.16 kB / 256.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.00979, allocations: 154.5 kB / 256.2 MB, free: 2.531 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.0104, allocations: 167.6 kB / 256.4 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.01131, allocations: 0.6109 MB / 257 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.01165, allocations: 138.6 kB / 257.1 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.01245, allocations: 355.3 kB / 257.5 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.01291, allocations: 215.4 kB / 257.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.01303, allocations: 52 kB / 257.7 MB, free: 1 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.814e-05/0.01311, allocations: 52 kB / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.31e-05/0.01321, allocations: 119.6 kB / 257.9 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.01342, allocations: 191.5 kB / 258.1 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.014, allocations: 414.5 kB / 258.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01401, allocations: 0 / 258.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01401, allocations: 0 / 258.5 MB, free: 244 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.01402, allocations: 0 / 258.5 MB, free: 244 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001356/0.01538, allocations: 0.7356 MB / 259.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01542, allocations: 12.03 kB / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.01557, allocations: 76.88 kB / 259.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.01599, allocations: 228.5 kB / 259.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.01603, allocations: 37.38 kB / 259.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.01611, allocations: 48.33 kB / 259.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.01671, allocations: 323.6 kB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.01676, allocations: 4.188 kB / 260 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.0168, allocations: 22.25 kB / 260 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.01682, allocations: 12 kB / 260 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.01717, allocations: 166.8 kB / 260.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.01894, allocations: 0.8456 MB / 261 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.01941, allocations: 327 kB / 261.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.01979, allocations: 207.1 kB / 261.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.01983, allocations: 16.66 kB / 261.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.01987, allocations: 43.16 kB / 261.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.609e-06/0.01988, allocations: 0 / 261.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.004437/0.02432, allocations: 2.175 MB / 263.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.02437, allocations: 68.34 kB / 263.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.0246, allocations: 221 kB / 264 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.02465, allocations: 45.7 kB / 264.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.02477, allocations: 181.9 kB / 264.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.02503, allocations: 364.7 kB / 264.6 MB, free: 9.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.02523, allocations: 150.6 kB / 264.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.02539, allocations: 370.7 kB / 265.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.02557, allocations: 89.95 kB / 265.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.0258, allocations: 165.4 kB / 265.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.02628, allocations: 342.1 kB / 265.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02629, allocations: 0 / 265.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006381/0.02692, allocations: 395.3 kB / 266.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.02695, allocations: 8 kB / 266.1 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.02696, allocations: 0 / 266.1 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.02699, allocations: 4 kB / 266.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.02777, allocations: 235.5 kB / 266.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.02778, allocations: 4 kB / 266.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.02801, allocations: 31.98 kB / 266.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.02805, allocations: 16 kB / 266.4 MB, free: 8.141 MB / 250.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 (113): * Single equations (assignments): 113 * 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.0001892/0.02824, allocations: 157.7 kB / 266.5 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.02835, allocations: 75.88 kB / 266.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.02845, allocations: 73.36 kB / 266.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.02846, allocations: 12 kB / 266.7 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.02847, allocations: 0 / 266.7 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.02848, allocations: 3.984 kB / 266.7 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.0299, allocations: 1.153 MB / 267.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.02991, allocations: 7.938 kB / 267.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.03042, allocations: 219.7 kB / 268.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.03043, allocations: 11.94 kB / 268.1 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.03047, allocations: 32.3 kB / 268.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.03048, allocations: 12 kB / 268.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.03048, allocations: 7.938 kB / 268.1 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.03127, allocations: 0.7929 MB / 268.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.03134, allocations: 59.58 kB / 269 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.03139, allocations: 24 kB / 269 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.03156, allocations: 31.98 kB / 269 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.03167, allocations: 88.73 kB / 269.1 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.0317, allocations: 24 kB / 269.2 MB, free: 5.199 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.03176, allocations: 78.77 kB / 269.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03176, allocations: 0 / 269.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.03209, allocations: 152 kB / 269.4 MB, free: 4.973 MB / 250.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 (103): * Single equations (assignments): 103 * 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.0001689/0.03226, allocations: 116.2 kB / 269.5 MB, free: 4.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.03272, allocations: 415.3 kB / 269.9 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.03273, allocations: 8.125 kB / 269.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.03296, allocations: 264.3 kB / 270.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.03342, allocations: 136.5 kB / 270.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.03505, allocations: 1.183 MB / 271.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.0352, allocations: 139.8 kB / 271.6 MB, free: 2.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.03545, allocations: 76.97 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.03575, allocations: 181.3 kB / 271.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of SimCode: time 2.625e-06/0.03575, allocations: 0 / 271.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of Templates: time 0.01217/0.04792, allocations: 7.369 MB / 279.2 MB, free: 11.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.849876625929028]