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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002231/0.002231, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2707/0.2707, allocations: 46.96 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] 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.002089/0.002089, allocations: 71.89 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 66.04 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004908/0.3483, allocations: 2.906 MB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3503, allocations: 1.009 MB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.3504, allocations: 15.88 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.3506, allocations: 63.31 kB / 0.565 GB, free: 192 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.3509, allocations: 130.9 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.3514, allocations: 171.6 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.352, allocations: 469.8 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.3522, allocations: 79.92 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3524, allocations: 171.4 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3526, allocations: 163.2 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.3527, allocations: 36 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3528, allocations: 51.98 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3529, allocations: 79.69 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3531, allocations: 167.2 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.3536, allocations: 456.5 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3536, allocations: 0 / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3536, allocations: 0 / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3536, allocations: 0 / 0.5668 GB, free: 14.25 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.001205/0.3548, allocations: 0.6299 MB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3549, allocations: 11.97 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.3552, allocations: 72.64 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.3556, allocations: 252.8 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.3557, allocations: 21.38 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.3557, allocations: 44.36 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.3564, allocations: 363.6 kB / 0.5682 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3564, allocations: 7.891 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3564, allocations: 16 kB / 0.5682 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3564, allocations: 8 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.3569, allocations: 251.8 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.359, allocations: 1.347 MB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.3598, allocations: 399.5 kB / 0.5702 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.36, allocations: 133 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3601, allocations: 8 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.3601, allocations: 42.83 kB / 0.5703 GB, free: 10.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.3601, allocations: 0 / 0.5703 GB, free: 10.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003156/0.3633, allocations: 1.538 MB / 0.5718 GB, free: 8.738 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.3634, allocations: 195.9 kB / 0.572 GB, free: 8.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.3637, allocations: 249.8 kB / 0.5723 GB, free: 8.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3637, allocations: 33.7 kB / 0.5723 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3638, allocations: 196.8 kB / 0.5725 GB, free: 8.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.364, allocations: 186.4 kB / 0.5727 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3641, allocations: 102.3 kB / 0.5728 GB, free: 7.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3643, allocations: 350.7 kB / 0.5731 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.3646, allocations: 117.2 kB / 0.5732 GB, free: 7.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.365, allocations: 299.9 kB / 0.5735 GB, free: 6.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.3657, allocations: 453.6 kB / 0.5739 GB, free: 6.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3657, allocations: 0 / 0.5739 GB, free: 6.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008363/0.3665, allocations: 0.4939 MB / 0.5744 GB, free: 5.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3665, allocations: 4.438 kB / 0.5744 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3665, allocations: 12 kB / 0.5744 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3665, allocations: 8 kB / 0.5744 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.3671, allocations: 147.8 kB / 0.5746 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3671, allocations: 11.94 kB / 0.5746 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.3673, allocations: 19.94 kB / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3674, allocations: 27.94 kB / 0.5746 GB, free: 5.641 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.0001938/0.3675, allocations: 169.6 kB / 0.5748 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3677, allocations: 43.77 kB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.368, allocations: 123.3 kB / 0.5749 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.368, allocations: 12 kB / 0.575 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.368, allocations: 0 / 0.575 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.368, allocations: 7.938 kB / 0.575 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.3699, allocations: 1.136 MB / 0.5761 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3699, allocations: 4 kB / 0.5761 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.3705, allocations: 115.8 kB / 0.5762 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.3705, allocations: 8 kB / 0.5762 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.3705, allocations: 19.98 kB / 0.5762 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.3705, allocations: 4 kB / 0.5762 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.3705, allocations: 7.938 kB / 0.5762 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3717, allocations: 1.006 MB / 0.5772 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.3717, allocations: 31.88 kB / 0.5772 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.3718, allocations: 19.98 kB / 0.5773 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.3722, allocations: 12 kB / 0.5773 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.3723, allocations: 47.81 kB / 0.5773 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.3723, allocations: 16 kB / 0.5773 GB, free: 2.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3724, allocations: 173.2 kB / 0.5775 GB, free: 2.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3724, allocations: 0 / 0.5775 GB, free: 2.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.3731, allocations: 99.94 kB / 0.5776 GB, free: 2.457 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.0001356/0.3732, allocations: 118.2 kB / 0.5777 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006436/0.3739, allocations: 330.5 kB / 0.578 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3739, allocations: 0 / 0.578 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.3742, allocations: 166.6 kB / 0.5782 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3752, allocations: 108.4 kB / 0.5783 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.3776, allocations: 1.478 MB / 0.5797 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3778, allocations: 208.3 kB / 0.5799 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.378, allocations: 47.28 kB / 0.58 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.3781, allocations: 31.44 kB / 0.58 GB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3781, allocations: 0 / 0.58 GB, free: 15.89 MB / 430.1 MB Notification: Performance of Templates: time 0.009601/0.3877, allocations: 4.306 MB / 0.5842 GB, free: 11.66 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/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: 5.402394087985158]