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.001986/0.001986, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00228/0.00228, allocations: 203.9 kB / 23.73 MB, free: 4.379 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 / 257.5 MB, free: 7.797 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.2852/0.2852, allocations: 46.97 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.003327/0.003327, allocations: 67.91 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3609, allocations: 66.04 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004929/0.3659, allocations: 2.906 MB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3679, allocations: 1.017 MB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3681, allocations: 11.94 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3683, allocations: 67.3 kB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.3686, allocations: 126.9 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.3691, allocations: 179.5 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.3696, allocations: 461.9 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.3698, allocations: 87.92 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.37, allocations: 171.4 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.3703, allocations: 191 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.3703, allocations: 32 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3704, allocations: 51.98 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.3705, allocations: 75.75 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3707, allocations: 167.2 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.3713, allocations: 456.5 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3713, allocations: 4 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3713, allocations: 0 / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3713, allocations: 0 / 0.5669 GB, free: 14.2 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.001293/0.3726, allocations: 0.6222 MB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3727, allocations: 12.03 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.373, allocations: 72.62 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3735, allocations: 244.8 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.3735, allocations: 29.38 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.3736, allocations: 40.38 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.3743, allocations: 367.4 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.3743, allocations: 11.89 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.3743, allocations: 16 kB / 0.5682 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3743, allocations: 11.98 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.3749, allocations: 243.8 kB / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.3771, allocations: 1.355 MB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.3779, allocations: 395.8 kB / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.3781, allocations: 125.1 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3781, allocations: 4 kB / 0.5703 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.3782, allocations: 46.5 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.3782, allocations: 0 / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003403/0.3816, allocations: 1.535 MB / 0.5719 GB, free: 8.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.3817, allocations: 187.9 kB / 0.572 GB, free: 8.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.382, allocations: 253.8 kB / 0.5723 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.382, allocations: 29.7 kB / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3822, allocations: 204.7 kB / 0.5725 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3824, allocations: 186.4 kB / 0.5727 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.3825, allocations: 110.2 kB / 0.5728 GB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3827, allocations: 350.7 kB / 0.5731 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3829, allocations: 117.3 kB / 0.5732 GB, free: 7.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3833, allocations: 295.9 kB / 0.5735 GB, free: 6.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.3841, allocations: 461.3 kB / 0.574 GB, free: 6.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3841, allocations: 4 kB / 0.574 GB, free: 6.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009876/0.3851, allocations: 0.4892 MB / 0.5744 GB, free: 5.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3851, allocations: 8 kB / 0.5744 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3852, allocations: 4 kB / 0.5744 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3852, allocations: 8 kB / 0.5745 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.3857, allocations: 139.8 kB / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.3857, allocations: 16.31 kB / 0.5746 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3861, allocations: 31.92 kB / 0.5746 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3861, allocations: 20 kB / 0.5746 GB, free: 5.602 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.0002047/0.3863, allocations: 173.6 kB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3865, allocations: 39.77 kB / 0.5749 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.3867, allocations: 127.3 kB / 0.575 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3867, allocations: 4 kB / 0.575 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3867, allocations: 7.938 kB / 0.575 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3867, allocations: 7.922 kB / 0.575 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.3887, allocations: 1.124 MB / 0.5761 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3887, allocations: 8.219 kB / 0.5761 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.3894, allocations: 119.9 kB / 0.5762 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3894, allocations: 4 kB / 0.5762 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.3894, allocations: 16.31 kB / 0.5762 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.3894, allocations: 11.94 kB / 0.5762 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.3894, allocations: 4 kB / 0.5762 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3907, allocations: 1.009 MB / 0.5772 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.3908, allocations: 35.8 kB / 0.5773 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.3908, allocations: 16 kB / 0.5773 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.3912, allocations: 12 kB / 0.5773 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3913, allocations: 43.81 kB / 0.5773 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3914, allocations: 23.98 kB / 0.5774 GB, free: 2.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.3915, allocations: 169.2 kB / 0.5775 GB, free: 2.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3915, allocations: 0 / 0.5775 GB, free: 2.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.3922, allocations: 100 kB / 0.5776 GB, free: 2.418 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.0001442/0.3923, allocations: 115.1 kB / 0.5777 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006836/0.393, allocations: 335.4 kB / 0.578 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.393, allocations: 0 / 0.578 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.3933, allocations: 167.9 kB / 0.5782 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3944, allocations: 92.95 kB / 0.5783 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3968, allocations: 1.483 MB / 0.5797 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3971, allocations: 212.3 kB / 0.5799 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3973, allocations: 51.28 kB / 0.58 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3974, allocations: 35.38 kB / 0.58 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3974, allocations: 0 / 0.58 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.009745/0.4071, allocations: 4.452 MB / 0.5844 GB, free: 11.46 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.604416886344552]