Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002098, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007276/0.0007276, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.00183, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.001/1.001, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09912/1.1, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.854e-05, allocations: 6.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003376/0.003395, allocations: 3.507 MB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005173, allocations: 0.8993 MB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.005406, allocations: 15.88 kB / 244 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.005535, allocations: 87.14 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.005776, allocations: 150.6 kB / 244.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.006134, allocations: 159.6 kB / 244.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.006673, allocations: 0.611 MB / 245 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.006872, allocations: 134.6 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.007323, allocations: 395.7 kB / 245.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.00754, allocations: 211.4 kB / 245.7 MB, free: 13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.007598, allocations: 52 kB / 245.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.007653, allocations: 52 kB / 245.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.007708, allocations: 83.69 kB / 245.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.007842, allocations: 155.7 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.008257, allocations: 374.6 kB / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.008271, allocations: 0 / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008273, allocations: 0 / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.008288, allocations: 0 / 246.4 MB, free: 12.3 MB / 250.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.0009943/0.009283, allocations: 0.8463 MB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.009322, allocations: 8.031 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.009426, allocations: 72.89 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.009768, allocations: 232.4 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.00982, allocations: 37.38 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.00988, allocations: 48.33 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.01049, allocations: 323.6 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01051, allocations: 4.188 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.01053, allocations: 20.38 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.01054, allocations: 15.94 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.01074, allocations: 162.8 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01188, allocations: 0.8496 MB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.0122, allocations: 338.7 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.01243, allocations: 203.2 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.01247, allocations: 16.66 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.0125, allocations: 43.16 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.993e-06/0.0125, allocations: 0 / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.003034/0.01554, allocations: 2.17 MB / 251.7 MB, free: 6.797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.01557, allocations: 60.41 kB / 251.8 MB, free: 6.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.01569, allocations: 233 kB / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01572, allocations: 41.7 kB / 252.1 MB, free: 6.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.01579, allocations: 174 kB / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.01594, allocations: 372.7 kB / 252.6 MB, free: 5.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.01605, allocations: 150.6 kB / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.01615, allocations: 366.6 kB / 253.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.01625, allocations: 93.95 kB / 253.2 MB, free: 5.281 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.01639, allocations: 173.4 kB / 253.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.01666, allocations: 330.2 kB / 253.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01667, allocations: 0 / 253.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.000342/0.01701, allocations: 395.4 kB / 254.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01702, allocations: 4 kB / 254.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01703, allocations: 0 / 254.1 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01704, allocations: 4 kB / 254.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.01752, allocations: 250.2 kB / 254.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01753, allocations: 11.92 kB / 254.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01764, allocations: 31.98 kB / 254.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.01766, allocations: 20 kB / 254.4 MB, free: 4.066 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.0001243/0.01779, allocations: 157.6 kB / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.01785, allocations: 67.94 kB / 254.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.01793, allocations: 77.36 kB / 254.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.01794, allocations: 8 kB / 254.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01795, allocations: 4 kB / 254.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.01795, allocations: 15.86 kB / 254.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.01907, allocations: 1.16 MB / 255.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.01908, allocations: 4 kB / 255.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.01954, allocations: 238.9 kB / 256.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.01958, allocations: 64.08 kB / 256.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.01959, allocations: 12 kB / 256.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.01962, allocations: 24 kB / 256.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.01963, allocations: 11.98 kB / 256.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.01963, allocations: 11.88 kB / 256.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.02023, allocations: 0.789 MB / 257 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.02027, allocations: 24 kB / 257.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.02042, allocations: 35.98 kB / 257.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.0205, allocations: 84.73 kB / 257.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.02052, allocations: 24 kB / 257.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.02057, allocations: 78.75 kB / 257.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02057, allocations: 0 / 257.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.02084, allocations: 159.9 kB / 257.4 MB, free: 0.8672 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.0001129/0.02096, allocations: 112.2 kB / 257.5 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.02132, allocations: 411.3 kB / 257.9 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.887e-05/0.02134, allocations: 18.61 kB / 258 MB, free: 340 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.02154, allocations: 264.3 kB / 258.2 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.02195, allocations: 180.9 kB / 258.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.02415, allocations: 1.203 MB / 259.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.02423, allocations: 135.8 kB / 259.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.02443, allocations: 80.97 kB / 259.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.02466, allocations: 177.3 kB / 260 MB, free: 14.19 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02466, allocations: 0 / 260 MB, free: 14.19 MB / 266.7 MB Notification: Performance of Templates: time 0.009717/0.03438, allocations: 7.593 MB / 267.6 MB, free: 6.742 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.572512436658144]