Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001665, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3037/0.3037, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.121e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6357, allocations: 89.25 MB / 0.5599 GB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.636, allocations: 59.78 kB / 0.56 GB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02981/0.6658, allocations: 6.564 MB / 0.5664 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.589e-06/0.6659, allocations: 4 kB / 0.5664 GB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.337e-05/0.666, allocations: 4 kB / 0.5664 GB, free: 8.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001168/0.6671, allocations: 0.5361 MB / 0.5669 GB, free: 8.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6672, allocations: 8.031 kB / 0.5669 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.6675, allocations: 51.52 kB / 0.567 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.668, allocations: 253.6 kB / 0.5672 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.668, allocations: 21.78 kB / 0.5673 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.6681, allocations: 33.47 kB / 0.5673 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.6688, allocations: 301 kB / 0.5676 GB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.6688, allocations: 3.906 kB / 0.5676 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.6689, allocations: 13.62 kB / 0.5676 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.6689, allocations: 8 kB / 0.5676 GB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.6695, allocations: 190.7 kB / 0.5678 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.6722, allocations: 1.296 MB / 0.569 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.673, allocations: 325.2 kB / 0.5694 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.6733, allocations: 105.1 kB / 0.5695 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.6734, allocations: 4.547 kB / 0.5695 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.6734, allocations: 46.12 kB / 0.5695 GB, free: 5.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 3.546e-06/0.6734, allocations: 3.938 kB / 0.5695 GB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002508/0.6759, allocations: 1.348 MB / 0.5708 GB, free: 4.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.6761, allocations: 174.1 kB / 0.571 GB, free: 4.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.6764, allocations: 189.9 kB / 0.5712 GB, free: 4.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.6764, allocations: 33.08 kB / 0.5712 GB, free: 4.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6766, allocations: 231.2 kB / 0.5714 GB, free: 3.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.6767, allocations: 157 kB / 0.5716 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.6768, allocations: 10.69 kB / 0.5716 GB, free: 3.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6769, allocations: 332.3 kB / 0.5719 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.6772, allocations: 87.75 kB / 0.572 GB, free: 3.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.6776, allocations: 236.3 kB / 0.5722 GB, free: 3.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.6779, allocations: 127 kB / 0.5723 GB, free: 2.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.678, allocations: 7.938 kB / 0.5723 GB, free: 2.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000931/0.6789, allocations: 391.8 kB / 0.5727 GB, free: 2.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6789, allocations: 8 kB / 0.5727 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.679, allocations: 7.984 kB / 0.5727 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.679, allocations: 8 kB / 0.5727 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.6798, allocations: 116.2 kB / 0.5728 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.6798, allocations: 4 kB / 0.5729 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.6802, allocations: 18.66 kB / 0.5729 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.6803, allocations: 23.5 kB / 0.5729 GB, free: 2.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.6804, allocations: 145.2 kB / 0.573 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.6806, allocations: 27.72 kB / 0.5731 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.681, allocations: 117.6 kB / 0.5732 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.681, allocations: 4 kB / 0.5732 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.681, allocations: 3.984 kB / 0.5732 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.681, allocations: 4 kB / 0.5732 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.6832, allocations: 1.026 MB / 0.5742 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6832, allocations: 8.125 kB / 0.5742 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.6842, allocations: 95.83 kB / 0.5743 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.6842, allocations: 4 kB / 0.5743 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.6843, allocations: 15.06 kB / 0.5743 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.6843, allocations: 7.938 kB / 0.5743 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.6843, allocations: 8.078 kB / 0.5743 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.6856, allocations: 0.9602 MB / 0.5753 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6857, allocations: 100.7 kB / 0.5753 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.6858, allocations: 14.88 kB / 0.5754 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.6863, allocations: 11.23 kB / 0.5754 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6864, allocations: 40.11 kB / 0.5754 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.6864, allocations: 16 kB / 0.5754 GB, free: 15.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.6866, allocations: 157.5 kB / 0.5756 GB, free: 15.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6867, allocations: 0 / 0.5756 GB, free: 15.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007632/0.6874, allocations: 78.3 kB / 0.5757 GB, free: 15.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001889/0.6876, allocations: 111.7 kB / 0.5758 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007292/0.6884, allocations: 278.8 kB / 0.576 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6884, allocations: 3.312 kB / 0.576 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.6887, allocations: 122.9 kB / 0.5761 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.6896, allocations: 71.47 kB / 0.5762 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.6924, allocations: 1.158 MB / 0.5773 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.693, allocations: 0.7923 MB / 0.5781 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.6932, allocations: 27.44 kB / 0.5781 GB, free: 13.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6932, allocations: 0 / 0.5781 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Templates: time 0.009452/0.7026, allocations: 3.794 MB / 0.5818 GB, free: 9.551 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches