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.001305/0.001305, allocations: 84.31 kB / 20.68 MB, free: 1.027 MB / 14.72 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.00132/0.00132, allocations: 164.8 kB / 23.96 MB, free: 4.145 MB / 14.72 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 1.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.376e-05, allocations: 3.75 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004763/0.004787, allocations: 3.338 MB / 328.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.006758, allocations: 0.9336 MB / 329.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.006972, allocations: 15.5 kB / 329.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.007197, allocations: 83.09 kB / 329.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.00754, allocations: 171.7 kB / 329.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.008039, allocations: 171 kB / 329.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.008764, allocations: 0.6433 MB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.009036, allocations: 140 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.009598, allocations: 373.6 kB / 330.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.009918, allocations: 217.2 kB / 331.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.009997, allocations: 50.75 kB / 331.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.01012, allocations: 54.03 kB / 331.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01024, allocations: 120.5 kB / 331.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.01048, allocations: 197.3 kB / 331.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007171/0.0112, allocations: 0.6437 MB / 332.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0112, allocations: 1.031 kB / 332.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.0112, allocations: 0 / 332.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.01121, allocations: 0 / 332.2 MB, free: 12.01 MB / 302.1 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.001531/0.01274, allocations: 0.7756 MB / 332.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.01278, allocations: 9.094 kB / 333 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.01299, allocations: 71.83 kB / 333 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.01344, allocations: 286.7 kB / 333.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.01348, allocations: 41.03 kB / 333.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.01363, allocations: 55.23 kB / 333.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.01441, allocations: 419.2 kB / 333.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.01443, allocations: 1.156 kB / 333.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.01448, allocations: 20.59 kB / 333.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01449, allocations: 12.28 kB / 333.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.0152, allocations: 382.7 kB / 334.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.01748, allocations: 1.17 MB / 335.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007841/0.01827, allocations: 476.4 kB / 335.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.01893, allocations: 314.8 kB / 336.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.01898, allocations: 20.23 kB / 336.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.01902, allocations: 42.62 kB / 336.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 1.973e-06/0.01902, allocations: 1.188 kB / 336.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.006692/0.02571, allocations: 2.859 MB / 339.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.02576, allocations: 64.41 kB / 339.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.02606, allocations: 268.2 kB / 339.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.02611, allocations: 41.7 kB / 339.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.02625, allocations: 209.6 kB / 339.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.02653, allocations: 372.7 kB / 340 MB, free: 5.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.02675, allocations: 150.6 kB / 340.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.02693, allocations: 362.8 kB / 340.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.02738, allocations: 241.9 kB / 340.8 MB, free: 5.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.0279, allocations: 313.4 kB / 341.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.02889, allocations: 0.5766 MB / 341.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02889, allocations: 0 / 341.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001274/0.03017, allocations: 0.7277 MB / 342.4 MB, free: 3.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.03019, allocations: 11.94 kB / 342.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.0302, allocations: 0 / 342.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.03023, allocations: 4 kB / 342.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.03105, allocations: 207.6 kB / 342.6 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.03107, allocations: 4 kB / 342.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.03142, allocations: 35.98 kB / 342.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.03148, allocations: 28.06 kB / 342.6 MB, free: 3.301 MB / 302.1 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.0003188/0.0318, allocations: 206.2 kB / 342.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.03191, allocations: 63.62 kB / 342.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.03212, allocations: 81.5 kB / 343 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.03213, allocations: 8 kB / 343 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.03214, allocations: 0 / 343 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.03215, allocations: 3.984 kB / 343 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.03507, allocations: 1.719 MB / 344.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.03508, allocations: 4.594 kB / 344.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/0.03587, allocations: 199.7 kB / 344.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.03588, allocations: 8 kB / 344.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.03595, allocations: 28 kB / 345 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/0.03597, allocations: 15.92 kB / 345 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.03597, allocations: 7.938 kB / 345 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.03796, allocations: 1.275 MB / 346.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.03806, allocations: 55.72 kB / 346.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.03814, allocations: 28 kB / 346.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.03849, allocations: 31.92 kB / 346.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.03865, allocations: 84.73 kB / 346.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.0387, allocations: 36 kB / 346.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.03889, allocations: 187 kB / 346.7 MB, free: 15.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03889, allocations: 4 kB / 346.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005487/0.03944, allocations: 156 kB / 346.8 MB, free: 14.94 MB / 318.1 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.0001875/0.03963, allocations: 137 kB / 347 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.04077, allocations: 0.6372 MB / 347.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.04077, allocations: 0 / 347.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.04142, allocations: 386.5 kB / 348 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.04228, allocations: 143.6 kB / 348.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.04469, allocations: 1.407 MB / 349.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.04498, allocations: 284.9 kB / 349.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.04527, allocations: 81.2 kB / 349.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.04546, allocations: 60.5 kB / 349.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.04546, allocations: 0 / 349.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01437/0.05984, allocations: 7.044 MB / 357 MB, free: 4.789 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.347081359475851]