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.00113/0.00113, allocations: 85.95 kB / 23 MB, free: 1.504 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.001124/0.001124, allocations: 175.7 kB / 26.39 MB, free: 7.988 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.9595/0.9595, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.474e-06/2.474e-06, allocations: 3.938 kB / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.687e-05, allocations: 2.312 kB / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.01153/0.01156, allocations: 3.455 MB / 255.7 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.01333, allocations: 0.8888 MB / 256.6 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.01374, allocations: 11.94 kB / 256.6 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.01395, allocations: 83.16 kB / 256.7 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.01428, allocations: 158.5 kB / 256.8 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.01478, allocations: 151.7 kB / 257 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.01543, allocations: 0.6226 MB / 257.6 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.01571, allocations: 130 kB / 257.7 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.01621, allocations: 359.3 kB / 258.1 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.01647, allocations: 199.5 kB / 258.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.01653, allocations: 56 kB / 258.3 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.0166, allocations: 55.94 kB / 258.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.01668, allocations: 119.6 kB / 258.5 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.01685, allocations: 191.6 kB / 258.7 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005904/0.01744, allocations: 426.4 kB / 259.1 MB, free: 372 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.01745, allocations: 0 / 259.1 MB, free: 372 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01745, allocations: 0 / 259.1 MB, free: 372 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.01746, allocations: 0 / 259.1 MB, free: 372 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.001137/0.0186, allocations: 0.8464 MB / 259.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.01863, allocations: 16.03 kB / 260 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01875, allocations: 92.55 kB / 260.1 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.01909, allocations: 275.2 kB / 260.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.01913, allocations: 37.38 kB / 260.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.01919, allocations: 48.33 kB / 260.4 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.01962, allocations: 319.6 kB / 260.7 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.01963, allocations: 4.172 kB / 260.7 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.01966, allocations: 20.38 kB / 260.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.01968, allocations: 19.94 kB / 260.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.0199, allocations: 186.7 kB / 260.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.02125, allocations: 1.083 MB / 262 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.02166, allocations: 354.8 kB / 262.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.02196, allocations: 225.9 kB / 262.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.022, allocations: 12.66 kB / 262.6 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.02203, allocations: 46.03 kB / 262.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.923e-06/0.02203, allocations: 0 / 262.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.002558/0.02459, allocations: 1.985 MB / 264.6 MB, free: 10.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.02475, allocations: 64.41 kB / 264.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.02493, allocations: 284.2 kB / 265 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.02496, allocations: 41.7 kB / 265 MB, free: 10.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.02509, allocations: 252.2 kB / 265.3 MB, free: 9.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.02531, allocations: 368.7 kB / 265.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.02546, allocations: 152.2 kB / 265.8 MB, free: 9.445 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.02568, allocations: 0.539 MB / 266.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.02581, allocations: 105.9 kB / 266.4 MB, free: 8.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.02598, allocations: 189.9 kB / 266.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.02634, allocations: 346.8 kB / 266.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02634, allocations: 4 kB / 266.9 MB, free: 8.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0005183/0.02686, allocations: 0.5089 MB / 267.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02688, allocations: 4 kB / 267.5 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02688, allocations: 0 / 267.5 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.0269, allocations: 8 kB / 267.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.02731, allocations: 199.7 kB / 267.7 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.02731, allocations: 4 kB / 267.7 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.02745, allocations: 36.05 kB / 267.7 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.02748, allocations: 27.98 kB / 267.7 MB, free: 7.449 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.0001536/0.02764, allocations: 200.3 kB / 267.9 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.02773, allocations: 87.67 kB / 268 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.02797, allocations: 73.36 kB / 268.1 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02798, allocations: 12 kB / 268.1 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.02799, allocations: 0 / 268.1 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.02799, allocations: 7.969 kB / 268.1 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.02948, allocations: 1.483 MB / 269.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.02949, allocations: 16.12 kB / 269.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.0299, allocations: 195.7 kB / 269.8 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.02991, allocations: 8 kB / 269.8 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.02994, allocations: 27.98 kB / 269.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.02995, allocations: 8 kB / 269.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.02996, allocations: 7.938 kB / 269.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.03088, allocations: 1.008 MB / 270.8 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.03094, allocations: 59.66 kB / 270.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.03099, allocations: 20 kB / 270.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.03117, allocations: 35.98 kB / 271 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.03125, allocations: 76.75 kB / 271 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.03129, allocations: 31.98 kB / 271.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.03138, allocations: 189.1 kB / 271.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03138, allocations: 0 / 271.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000357/0.03174, allocations: 152 kB / 271.4 MB, free: 3.559 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.000422/0.03216, allocations: 138.2 kB / 271.5 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.03261, allocations: 442.1 kB / 272 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03261, allocations: 0 / 272 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.03286, allocations: 288 kB / 272.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.03335, allocations: 139.7 kB / 272.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.03503, allocations: 1.334 MB / 273.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.03514, allocations: 143.7 kB / 273.9 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.03535, allocations: 76.92 kB / 273.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.03561, allocations: 206.1 kB / 274.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03561, allocations: 0 / 274.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of Templates: time 0.01041/0.04602, allocations: 7.444 MB / 281.6 MB, free: 9.277 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.95492873294279]