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.001799/0.001799, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001805/0.001805, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001467/0.001467, allocations: 51.92 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005707/0.1199, allocations: 3.666 MB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2096/0.3295, allocations: 0.9519 MB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.33, allocations: 12.03 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.3302, allocations: 87.14 kB / 432.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.3306, allocations: 166.1 kB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.3312, allocations: 162.3 kB / 432.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007201/0.3319, allocations: 0.6241 MB / 433.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.3322, allocations: 142.2 kB / 433.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003953/0.3325, allocations: 267.4 kB / 433.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.3329, allocations: 284.1 kB / 433.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/0.3329, allocations: 53.25 kB / 433.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3331, allocations: 58.88 kB / 433.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.3331, allocations: 118.5 kB / 434 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3334, allocations: 283.5 kB / 434.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.334, allocations: 0.6317 MB / 435 MB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.334, allocations: 2.75 kB / 435 MB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.334, allocations: 0 / 435 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.334, allocations: 1.031 kB / 435 MB, free: 7.641 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.00149/0.3355, allocations: 0.8426 MB / 435.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3356, allocations: 10.62 kB / 435.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.3358, allocations: 75.28 kB / 435.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.3363, allocations: 354 kB / 436.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.3364, allocations: 41.53 kB / 436.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.3365, allocations: 53.75 kB / 436.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.3373, allocations: 418.5 kB / 436.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.3373, allocations: 1.859 kB / 436.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.3374, allocations: 18.98 kB / 436.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3374, allocations: 10.94 kB / 436.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.3382, allocations: 390 kB / 437.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.341, allocations: 1.391 MB / 438.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.3418, allocations: 475.8 kB / 439 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.3425, allocations: 310.5 kB / 439.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.3425, allocations: 12.08 kB / 439.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3425, allocations: 38.56 kB / 439.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.244e-06/0.3425, allocations: 3.938 kB / 439.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006749/0.3493, allocations: 3.015 MB / 442.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3493, allocations: 68.34 kB / 442.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.3496, allocations: 275.7 kB / 442.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3497, allocations: 45.89 kB / 442.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3498, allocations: 210.8 kB / 443 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.35, allocations: 380.5 kB / 443.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3502, allocations: 151.2 kB / 443.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3503, allocations: 365 kB / 443.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.3508, allocations: 237 kB / 444.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.3513, allocations: 315.5 kB / 444.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.3522, allocations: 0.5774 MB / 445 MB, free: 2.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3522, allocations: 0 / 445 MB, free: 2.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001246/0.3535, allocations: 0.7407 MB / 445.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3535, allocations: 5.969 kB / 445.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3535, allocations: 2.234 kB / 445.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3535, allocations: 8.75 kB / 445.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/0.3543, allocations: 198.8 kB / 445.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.3544, allocations: 4.438 kB / 445.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3547, allocations: 35.03 kB / 445.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3547, allocations: 30.34 kB / 446 MB, free: 2.148 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.0002437/0.355, allocations: 195.3 kB / 446.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3551, allocations: 60.11 kB / 446.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.3553, allocations: 82.23 kB / 446.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3553, allocations: 10.16 kB / 446.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/0.3553, allocations: 1.562 kB / 446.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.3553, allocations: 5.766 kB / 446.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.3584, allocations: 1.938 MB / 448.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3584, allocations: 11.28 kB / 448.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.3592, allocations: 194.2 kB / 448.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/0.3593, allocations: 8.406 kB / 448.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.3593, allocations: 25.95 kB / 448.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.3593, allocations: 14 kB / 448.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.3593, allocations: 8.531 kB / 448.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.3614, allocations: 1.292 MB / 449.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.3616, allocations: 134.4 kB / 449.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.3617, allocations: 28.52 kB / 450 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.3621, allocations: 33.67 kB / 450 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.3623, allocations: 80.14 kB / 450.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.3623, allocations: 35.84 kB / 450.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3626, allocations: 190.4 kB / 450.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3626, allocations: 0 / 450.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006875/0.3633, allocations: 161.2 kB / 450.5 MB, free: 15.71 MB / 366.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.0001997/0.3635, allocations: 133.5 kB / 450.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3648, allocations: 0.634 MB / 451.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3648, allocations: 1.375 kB / 451.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.3655, allocations: 387.6 kB / 451.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/0.3664, allocations: 142.1 kB / 451.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.3694, allocations: 1.576 MB / 453.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.37, allocations: 0.8797 MB / 454.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.3703, allocations: 69.03 kB / 454.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3703, allocations: 0 / 454.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01834/0.3886, allocations: 7.723 MB / 462 MB, free: 10.46 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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: 8.161151892010821]