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.001537/0.001537, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002319/0.002319, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.535/1.535, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.001665/0.001665, allocations: 47.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2993, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005292/0.3046, allocations: 3.322 MB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3067, allocations: 0.9237 MB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.307, allocations: 19.88 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3072, allocations: 83.16 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.3076, allocations: 154.5 kB / 436.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.3082, allocations: 167.7 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007302/0.309, allocations: 0.6228 MB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.3093, allocations: 145.7 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.3097, allocations: 267.1 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.3101, allocations: 290.7 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.3101, allocations: 52 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3103, allocations: 52 kB / 438.4 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3104, allocations: 119.6 kB / 438.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3106, allocations: 243 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007167/0.3113, allocations: 0.6292 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3113, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3113, allocations: 3.938 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3113, allocations: 0 / 439.4 MB, free: 15.64 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.001649/0.313, allocations: 0.7776 MB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.313, allocations: 8.031 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.3133, allocations: 76.55 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.3139, allocations: 285.7 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.3139, allocations: 37 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.235e-05/0.314, allocations: 51.95 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.3148, allocations: 418.4 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3149, allocations: 0 / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.3149, allocations: 23.94 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.3149, allocations: 12 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007493/0.3157, allocations: 391.7 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.3181, allocations: 1.165 MB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.3189, allocations: 479.9 kB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006863/0.3196, allocations: 312 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.3196, allocations: 8.656 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3197, allocations: 39.22 kB / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.024e-06/0.3197, allocations: 0 / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.007023/0.3267, allocations: 2.87 MB / 446.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3267, allocations: 68.34 kB / 446.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3271, allocations: 264.2 kB / 446.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.3271, allocations: 45.64 kB / 446.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3273, allocations: 209.5 kB / 446.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3276, allocations: 380.7 kB / 447.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.3278, allocations: 154.7 kB / 447.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.328, allocations: 358.8 kB / 447.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.3285, allocations: 241.9 kB / 448 MB, free: 6.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.329, allocations: 317.4 kB / 448.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.33, allocations: 0.5766 MB / 448.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.33, allocations: 0 / 448.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001269/0.3313, allocations: 0.7354 MB / 449.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3313, allocations: 4 kB / 449.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3313, allocations: 0 / 449.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3313, allocations: 4 kB / 449.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.3322, allocations: 203.8 kB / 449.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.3322, allocations: 4 kB / 449.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.3327, allocations: 31.98 kB / 449.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.3328, allocations: 28 kB / 449.9 MB, free: 4.91 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.0003293/0.3331, allocations: 201.6 kB / 450.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3332, allocations: 63.59 kB / 450.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.3335, allocations: 77.5 kB / 450.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.3335, allocations: 11.98 kB / 450.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3335, allocations: 8 kB / 450.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3335, allocations: 7.984 kB / 450.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.3369, allocations: 1.716 MB / 451.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.337, allocations: 4 kB / 451.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.3378, allocations: 195.6 kB / 452.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.3378, allocations: 8 kB / 452.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.3379, allocations: 28 kB / 452.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.3379, allocations: 11.98 kB / 452.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3379, allocations: 11.94 kB / 452.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.3405, allocations: 1.295 MB / 453.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3406, allocations: 59.55 kB / 453.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3407, allocations: 24.06 kB / 453.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.3412, allocations: 31.98 kB / 453.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.3413, allocations: 80.75 kB / 453.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.3414, allocations: 31.98 kB / 453.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3416, allocations: 191.1 kB / 453.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 4 kB / 453.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005978/0.3422, allocations: 156 kB / 454.1 MB, free: 0.5391 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.0001818/0.3424, allocations: 131 kB / 454.2 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3436, allocations: 0.6333 MB / 454.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3436, allocations: 0 / 454.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.3443, allocations: 389.8 kB / 455.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.3452, allocations: 143.7 kB / 455.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.3478, allocations: 1.56 MB / 456.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3482, allocations: 284.9 kB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.3485, allocations: 77.22 kB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3487, allocations: 55.42 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3487, allocations: 4 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01584/0.3645, allocations: 7.992 MB / 465.3 MB, free: 5.297 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 -s cvode -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: 5.1740043589961715]