Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005299/0.2673, allocations: 3.584 MB / 424.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2694, allocations: 0.8839 MB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.2697, allocations: 11.94 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.27, allocations: 75.22 kB / 425.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.2703, allocations: 154.6 kB / 425.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.2708, allocations: 155.7 kB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.2714, allocations: 0.5918 MB / 426.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2717, allocations: 145.5 kB / 426.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.272, allocations: 243.2 kB / 426.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.2723, allocations: 270.9 kB / 426.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.2724, allocations: 48 kB / 427 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.2725, allocations: 52 kB / 427 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2726, allocations: 123.6 kB / 427.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2729, allocations: 270.7 kB / 427.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.2736, allocations: 0.5964 MB / 428 MB, free: 7.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2736, allocations: 8 kB / 428 MB, free: 7.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2736, allocations: 0 / 428 MB, free: 7.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.2736, allocations: 0 / 428 MB, free: 7.914 MB / 334.1 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.001646/0.2752, allocations: 0.8492 MB / 428.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2753, allocations: 16.03 kB / 428.9 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.2754, allocations: 56.61 kB / 428.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.2759, allocations: 339.4 kB / 429.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.276, allocations: 37.38 kB / 429.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.2761, allocations: 48.33 kB / 429.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.277, allocations: 458.6 kB / 429.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.277, allocations: 4 kB / 429.8 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.2771, allocations: 20 kB / 429.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.2771, allocations: 15.98 kB / 429.9 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2781, allocations: 451.7 kB / 430.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.2805, allocations: 1.371 MB / 431.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/0.2815, allocations: 0.4974 MB / 432.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.2823, allocations: 355.7 kB / 432.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.2823, allocations: 12.56 kB / 432.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.2824, allocations: 39.12 kB / 432.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.264e-06/0.2824, allocations: 0 / 432.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007349/0.2897, allocations: 3.151 MB / 435.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2898, allocations: 64.34 kB / 435.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.2901, allocations: 255 kB / 436 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.2901, allocations: 45.69 kB / 436.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2903, allocations: 193.5 kB / 436.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.2905, allocations: 372.8 kB / 436.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.2908, allocations: 142.6 kB / 436.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2909, allocations: 362.8 kB / 437.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.2915, allocations: 277.8 kB / 437.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.2922, allocations: 345.4 kB / 437.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.2934, allocations: 0.6234 MB / 438.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2934, allocations: 4 kB / 438.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001515/0.2949, allocations: 0.7861 MB / 439.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2949, allocations: 7.125 kB / 439.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2949, allocations: 0 / 439.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.295, allocations: 7.938 kB / 439.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.2958, allocations: 211.7 kB / 439.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2958, allocations: 4 kB / 439.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.2962, allocations: 52.02 kB / 439.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.2962, allocations: 35.91 kB / 439.4 MB, free: 12.18 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 (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.0002857/0.2965, allocations: 197.7 kB / 439.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.2966, allocations: 55.61 kB / 439.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.2968, allocations: 77.33 kB / 439.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2968, allocations: 12 kB / 439.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2968, allocations: 4 kB / 439.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.2968, allocations: 3.984 kB / 439.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.3, allocations: 1.972 MB / 441.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3, allocations: 4 kB / 441.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008259/0.3008, allocations: 212.3 kB / 442 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.3008, allocations: 8 kB / 442 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.3009, allocations: 27.92 kB / 442 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.3009, allocations: 11.94 kB / 442 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.3009, allocations: 8 kB / 442 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.3031, allocations: 1.377 MB / 443.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.3032, allocations: 124.8 kB / 443.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.3033, allocations: 32 kB / 443.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.3037, allocations: 51.95 kB / 443.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3038, allocations: 72.8 kB / 443.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.3039, allocations: 31.98 kB / 443.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3041, allocations: 178 kB / 443.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3041, allocations: 0 / 443.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.3046, allocations: 156 kB / 444 MB, free: 7.363 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 (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.0001706/0.3048, allocations: 138.9 kB / 444.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3064, allocations: 0.6918 MB / 444.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3064, allocations: 4 kB / 444.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.3071, allocations: 414.7 kB / 445.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.3079, allocations: 124 kB / 445.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3107, allocations: 1.557 MB / 446.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.3112, allocations: 0.8684 MB / 447.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003293/0.3115, allocations: 76.97 kB / 447.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.3117, allocations: 55.42 kB / 447.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3117, allocations: 0 / 447.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Templates: time 0.01359/0.3253, allocations: 6.935 MB / 454.9 MB, free: 12.44 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.682170174084604]