Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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.001535/0.001535, allocations: 107.6 kB / 21.18 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.001712/0.001712, allocations: 208.8 kB / 24.48 MB, free: 3.973 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 46.96 MB / 361.6 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004873/0.3455, allocations: 2.909 MB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3475, allocations: 1.013 MB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3477, allocations: 11.94 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3479, allocations: 71.3 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3481, allocations: 126.9 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.3487, allocations: 183.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.3492, allocations: 457.9 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.3495, allocations: 83.98 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.3497, allocations: 183.3 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.3499, allocations: 179.2 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.35, allocations: 32 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3501, allocations: 55.98 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.3502, allocations: 79.69 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3504, allocations: 167.2 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.3509, allocations: 456.7 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3509, allocations: 4 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3509, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.351, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001298/0.3523, allocations: 0.6222 MB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3523, allocations: 11.97 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.3526, allocations: 68.62 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3531, allocations: 244.8 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.3532, allocations: 33.31 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.3533, allocations: 40.36 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.3539, allocations: 359.5 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/0.354, allocations: 15.94 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.354, allocations: 12 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.354, allocations: 8 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.3545, allocations: 247.7 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.3567, allocations: 1.355 MB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.3575, allocations: 399.9 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.3577, allocations: 133.1 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3577, allocations: 4 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.3578, allocations: 54.48 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.3578, allocations: 0 / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003232/0.361, allocations: 1.53 MB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.3612, allocations: 187.9 kB / 0.5728 GB, free: 8.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3614, allocations: 253.7 kB / 0.573 GB, free: 8.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3615, allocations: 37.7 kB / 0.5731 GB, free: 8.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3616, allocations: 196.7 kB / 0.5732 GB, free: 7.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.3618, allocations: 198.4 kB / 0.5734 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3619, allocations: 98.3 kB / 0.5735 GB, free: 7.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3621, allocations: 350.7 kB / 0.5739 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.3623, allocations: 113.3 kB / 0.574 GB, free: 7.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.3627, allocations: 292 kB / 0.5742 GB, free: 6.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.3634, allocations: 463 kB / 0.5747 GB, free: 6.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3634, allocations: 0 / 0.5747 GB, free: 6.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008602/0.3643, allocations: 0.4928 MB / 0.5752 GB, free: 5.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3643, allocations: 8 kB / 0.5752 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.3643, allocations: 8 kB / 0.5752 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.3644, allocations: 8 kB / 0.5752 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.3649, allocations: 140.2 kB / 0.5753 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.3649, allocations: 12 kB / 0.5753 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3652, allocations: 27.92 kB / 0.5754 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.3652, allocations: 31.94 kB / 0.5754 GB, free: 5.578 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001969/0.3654, allocations: 169.6 kB / 0.5756 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.3655, allocations: 35.77 kB / 0.5756 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3658, allocations: 127.3 kB / 0.5757 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.3658, allocations: 8 kB / 0.5757 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3658, allocations: 0 / 0.5757 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3658, allocations: 7.922 kB / 0.5757 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3678, allocations: 1.136 MB / 0.5768 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3678, allocations: 4 kB / 0.5768 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.3683, allocations: 116.2 kB / 0.577 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.3684, allocations: 8 kB / 0.577 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.3684, allocations: 12 kB / 0.577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.3684, allocations: 11.94 kB / 0.577 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3684, allocations: 4 kB / 0.577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3696, allocations: 1.01 MB / 0.578 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.3696, allocations: 31.81 kB / 0.578 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.3697, allocations: 16 kB / 0.578 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.3701, allocations: 12 kB / 0.578 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.3702, allocations: 47.81 kB / 0.5781 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.3702, allocations: 19.98 kB / 0.5781 GB, free: 2.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3704, allocations: 169.2 kB / 0.5783 GB, free: 2.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3704, allocations: 0 / 0.5783 GB, free: 2.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006618/0.371, allocations: 96 kB / 0.5783 GB, free: 2.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001458/0.3712, allocations: 119.1 kB / 0.5785 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006633/0.3718, allocations: 347.3 kB / 0.5788 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3718, allocations: 7.875 kB / 0.5788 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.3721, allocations: 165.6 kB / 0.579 GB, free: 1.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.3731, allocations: 84.33 kB / 0.579 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3755, allocations: 1.508 MB / 0.5805 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.3758, allocations: 208.5 kB / 0.5807 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3759, allocations: 31.44 kB / 0.5807 GB, free: 15.85 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3759, allocations: 0 / 0.5807 GB, free: 15.85 MB / 430.1 MB Notification: Performance of Templates: time 0.007855/0.3837, allocations: 4.94 MB / 0.5856 GB, free: 10.92 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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: 7.981533329002559]