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.001366/0.001366, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001587/0.001587, allocations: 207.8 kB / 23.72 MB, free: 4.496 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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 0.0017/0.0017, allocations: 43.92 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004762/0.2525, allocations: 3.333 MB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2542, allocations: 0.9198 MB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2544, allocations: 11.94 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.2546, allocations: 87.09 kB / 435.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.2549, allocations: 158.5 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2554, allocations: 167.7 kB / 436.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.256, allocations: 0.6267 MB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.2563, allocations: 130 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.2567, allocations: 263.1 kB / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.257, allocations: 254.8 kB / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.2571, allocations: 52 kB / 437.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2573, allocations: 56 kB / 437.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2574, allocations: 119.5 kB / 437.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.2576, allocations: 242.9 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.2582, allocations: 0.6275 MB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2582, allocations: 4 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2582, allocations: 0 / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2583, allocations: 0 / 438.6 MB, free: 15.68 MB / 350.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.001449/0.2597, allocations: 0.7881 MB / 439.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2597, allocations: 8.031 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.26, allocations: 72.55 kB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.2605, allocations: 285.7 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.2605, allocations: 33 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.2606, allocations: 59.89 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.2613, allocations: 422.4 kB / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.2614, allocations: 0 / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.2614, allocations: 20 kB / 440.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.2614, allocations: 12 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.2621, allocations: 383.8 kB / 440.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.2644, allocations: 1.165 MB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.2652, allocations: 475.9 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.2659, allocations: 312 kB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.2659, allocations: 8.656 kB / 442.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.266, allocations: 47.16 kB / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.064e-06/0.266, allocations: 0 / 442.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006355/0.2723, allocations: 2.87 MB / 445.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.2724, allocations: 64.41 kB / 445.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2727, allocations: 268.2 kB / 445.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.2727, allocations: 41.7 kB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2729, allocations: 209.5 kB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.2732, allocations: 376.7 kB / 446.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.2734, allocations: 154.6 kB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2736, allocations: 362.8 kB / 446.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.274, allocations: 241.9 kB / 447.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.2745, allocations: 317.4 kB / 447.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.2755, allocations: 0.5728 MB / 448.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2755, allocations: 0 / 448.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001233/0.2767, allocations: 0.7354 MB / 448.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2767, allocations: 8 kB / 448.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2768, allocations: 0 / 448.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.2768, allocations: 4 kB / 448.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.2775, allocations: 203.7 kB / 449 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2775, allocations: 4 kB / 449 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2778, allocations: 31.98 kB / 449 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.2779, allocations: 28 kB / 449.1 MB, free: 4.957 MB / 350.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.0002534/0.2781, allocations: 205.5 kB / 449.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.2782, allocations: 67.64 kB / 449.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.2784, allocations: 77.56 kB / 449.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.2784, allocations: 8 kB / 449.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2784, allocations: 0 / 449.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2784, allocations: 3.984 kB / 449.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.2812, allocations: 1.716 MB / 451.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2812, allocations: 4 kB / 451.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.2819, allocations: 199.6 kB / 451.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.282, allocations: 12.53 kB / 451.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.282, allocations: 32 kB / 451.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.282, allocations: 15.92 kB / 451.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.282, allocations: 4 kB / 451.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.2839, allocations: 1.287 MB / 452.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.284, allocations: 67.61 kB / 452.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.284, allocations: 20 kB / 452.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.2844, allocations: 35.98 kB / 452.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.2845, allocations: 80.73 kB / 452.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.2846, allocations: 36 kB / 452.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.2847, allocations: 187.1 kB / 453.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2847, allocations: 0 / 453.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.2852, allocations: 156 kB / 453.3 MB, free: 0.5859 MB / 350.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.0001679/0.2854, allocations: 139 kB / 453.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2865, allocations: 0.6372 MB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2865, allocations: 0 / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.2871, allocations: 389.4 kB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.288, allocations: 133.9 kB / 454.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.2904, allocations: 1.552 MB / 456.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2906, allocations: 284.8 kB / 456.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.2909, allocations: 85.2 kB / 456.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2911, allocations: 59.42 kB / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2911, allocations: 0 / 456.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01416/0.3053, allocations: 7.729 MB / 464.2 MB, free: 5.602 MB / 366.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.783795947209001]