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.00098/0.00098, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.000947/0.000947, allocations: 163.2 kB / 25.74 MB, free: 8.078 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.9369/0.9369, allocations: 158.6 MB / 187.5 MB, free: 2.902 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 2.104e-06/2.104e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.093e-05, allocations: 2.312 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003165/0.003186, allocations: 3.482 MB / 254.6 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004617, allocations: 0.9005 MB / 255.5 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.004787, allocations: 11.94 kB / 255.5 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.004966, allocations: 75.22 kB / 255.6 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.005187, allocations: 158.5 kB / 255.7 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.005663, allocations: 167.6 kB / 255.9 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.00614, allocations: 0.6071 MB / 256.5 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.006361, allocations: 137.9 kB / 256.6 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.00665, allocations: 351.3 kB / 257 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.006847, allocations: 215.4 kB / 257.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.865e-05/0.006906, allocations: 48 kB / 257.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.006954, allocations: 52 kB / 257.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.007021, allocations: 119.6 kB / 257.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.007154, allocations: 195.5 kB / 257.6 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.007493, allocations: 410.5 kB / 258 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.007496, allocations: 4 kB / 258 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007497, allocations: 4 kB / 258 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007503, allocations: 0 / 258 MB, free: 0.8516 MB / 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.0009438/0.008446, allocations: 0.8468 MB / 258.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.008481, allocations: 8.031 kB / 258.9 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.008591, allocations: 100.5 kB / 259 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.008882, allocations: 275.1 kB / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.008916, allocations: 33.38 kB / 259.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.008971, allocations: 52.38 kB / 259.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.00944, allocations: 351.7 kB / 259.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.009458, allocations: 4.141 kB / 259.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.009491, allocations: 24.11 kB / 259.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.009503, allocations: 12 kB / 259.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.009851, allocations: 241.7 kB / 259.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01124, allocations: 1.129 MB / 261.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.01169, allocations: 390.9 kB / 261.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.01204, allocations: 250 kB / 261.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.01207, allocations: 16.66 kB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.0121, allocations: 42.05 kB / 261.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 3.757e-06/0.01211, allocations: 4 kB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.003123/0.01523, allocations: 2.199 MB / 263.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.01526, allocations: 60.41 kB / 264 MB, free: 10.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01544, allocations: 292.2 kB / 264.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.01548, allocations: 41.7 kB / 264.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01558, allocations: 248.2 kB / 264.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.01575, allocations: 376.8 kB / 264.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.01589, allocations: 148.3 kB / 265.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.01604, allocations: 0.5313 MB / 265.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.01625, allocations: 137.9 kB / 265.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.0165, allocations: 225.9 kB / 266 MB, free: 8.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.01698, allocations: 402.9 kB / 266.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01698, allocations: 0 / 266.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006199/0.0176, allocations: 0.5753 MB / 266.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01762, allocations: 8.062 kB / 266.9 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.01762, allocations: 4 kB / 267 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01764, allocations: 4 kB / 267 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.01806, allocations: 203.7 kB / 267.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.01807, allocations: 4 kB / 267.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01819, allocations: 39.92 kB / 267.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.01823, allocations: 27.98 kB / 267.2 MB, free: 7.336 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.0001428/0.01837, allocations: 200.4 kB / 267.4 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.01845, allocations: 91.67 kB / 267.5 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.01854, allocations: 73.36 kB / 267.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.01855, allocations: 12 kB / 267.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01855, allocations: 0 / 267.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.01856, allocations: 7.922 kB / 267.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.02049, allocations: 1.58 MB / 269.2 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.02049, allocations: 8 kB / 269.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.02091, allocations: 195.7 kB / 269.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.02092, allocations: 8 kB / 269.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.02095, allocations: 28.58 kB / 269.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.02096, allocations: 8 kB / 269.4 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.02097, allocations: 11.94 kB / 269.4 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.02197, allocations: 1.098 MB / 270.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.02201, allocations: 59.61 kB / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.02206, allocations: 20 kB / 270.6 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.02222, allocations: 31.98 kB / 270.6 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.02232, allocations: 80.75 kB / 270.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.02235, allocations: 39.98 kB / 270.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.585e-05/0.02244, allocations: 193.1 kB / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02244, allocations: 0 / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.02276, allocations: 156 kB / 271.1 MB, free: 3.23 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.0001302/0.02289, allocations: 135 kB / 271.2 MB, free: 3.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.02347, allocations: 0.4981 MB / 271.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02347, allocations: 0 / 271.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.02376, allocations: 319.2 kB / 272 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.02426, allocations: 140.8 kB / 272.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.0258, allocations: 1.35 MB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.0259, allocations: 139.7 kB / 273.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000176/0.02607, allocations: 76.92 kB / 273.7 MB, free: 456 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.02619, allocations: 56.48 kB / 273.8 MB, free: 400 kB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0262, allocations: 0 / 273.8 MB, free: 400 kB / 250.7 MB Notification: Performance of Templates: time 0.008425/0.03462, allocations: 6.576 MB / 280.4 MB, free: 9.871 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 -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.9143143377732486]