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.002903/0.002904, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 99.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3249/0.3249, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.41e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.5648, allocations: 88.58 MB / 0.5524 GB, free: 10.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5651, allocations: 63.97 kB / 0.5525 GB, free: 10.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02974/0.5949, allocations: 6.496 MB / 0.5588 GB, free: 4.133 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5949, allocations: 0 / 0.5588 GB, free: 4.133 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.5949, allocations: 8 kB / 0.5588 GB, free: 4.125 MB / 395.1 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.001207/0.5962, allocations: 0.5418 MB / 0.5593 GB, free: 3.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5962, allocations: 8.031 kB / 0.5594 GB, free: 3.531 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.5965, allocations: 51.52 kB / 0.5594 GB, free: 3.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.597, allocations: 258.5 kB / 0.5596 GB, free: 3.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5971, allocations: 12 kB / 0.5597 GB, free: 3.176 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.5972, allocations: 27.89 kB / 0.5597 GB, free: 3.148 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005516/0.5977, allocations: 165.5 kB / 0.5598 GB, free: 2.988 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.5984, allocations: 250.8 kB / 0.5601 GB, free: 2.715 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.5984, allocations: 7.906 kB / 0.5601 GB, free: 2.707 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.5984, allocations: 0 / 0.5601 GB, free: 2.707 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5985, allocations: 8 kB / 0.5601 GB, free: 2.699 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.6011, allocations: 1.231 MB / 0.5613 GB, free: 1.383 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.6018, allocations: 297.2 kB / 0.5616 GB, free: 1.047 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.6021, allocations: 100.4 kB / 0.5617 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.6021, allocations: 8 kB / 0.5617 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6022, allocations: 42.73 kB / 0.5617 GB, free: 0.875 MB / 395.1 MB Notification: Performance of pre-optimization done (n=36): time 3.266e-06/0.6022, allocations: 0 / 0.5617 GB, free: 0.875 MB / 395.1 MB Notification: Performance of matching and sorting (n=40): time 0.0024/0.6046, allocations: 1.278 MB / 0.563 GB, free: 15.4 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.6047, allocations: 158.2 kB / 0.5631 GB, free: 15.21 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.605, allocations: 175.9 kB / 0.5633 GB, free: 15.03 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.605, allocations: 25.7 kB / 0.5633 GB, free: 15 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.6052, allocations: 239 kB / 0.5635 GB, free: 14.77 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.6054, allocations: 149.8 kB / 0.5637 GB, free: 14.62 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.6054, allocations: 8 kB / 0.5637 GB, free: 14.61 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6056, allocations: 326.8 kB / 0.564 GB, free: 14.28 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.6059, allocations: 85.05 kB / 0.5641 GB, free: 14.2 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.6063, allocations: 223 kB / 0.5643 GB, free: 13.92 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.6066, allocations: 125 kB / 0.5644 GB, free: 13.8 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.6066, allocations: 4 kB / 0.5644 GB, free: 13.79 MB / 411.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008663/0.6075, allocations: 337.6 kB / 0.5647 GB, free: 13.46 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6075, allocations: 8 kB / 0.5648 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.6076, allocations: 7.938 kB / 0.5648 GB, free: 13.44 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.6076, allocations: 8 kB / 0.5648 GB, free: 13.43 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/0.6084, allocations: 111.8 kB / 0.5649 GB, free: 13.32 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.6085, allocations: 11.98 kB / 0.5649 GB, free: 13.31 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.6088, allocations: 15.91 kB / 0.5649 GB, free: 13.3 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.6089, allocations: 20.34 kB / 0.5649 GB, free: 13.28 MB / 411.1 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.0001535/0.6091, allocations: 128.7 kB / 0.565 GB, free: 13.14 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.6092, allocations: 31.67 kB / 0.5651 GB, free: 13.11 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.6096, allocations: 103.4 kB / 0.5652 GB, free: 13.01 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6096, allocations: 8 kB / 0.5652 GB, free: 13 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6096, allocations: 0 / 0.5652 GB, free: 13 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6096, allocations: 3.984 kB / 0.5652 GB, free: 13 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6117, allocations: 0.9482 MB / 0.5661 GB, free: 11.98 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6118, allocations: 4 kB / 0.5661 GB, free: 11.97 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.6127, allocations: 95.89 kB / 0.5662 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.6127, allocations: 4 kB / 0.5662 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.6128, allocations: 8 kB / 0.5662 GB, free: 11.87 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.6128, allocations: 11.92 kB / 0.5662 GB, free: 11.86 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.6128, allocations: 4 kB / 0.5662 GB, free: 11.85 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.614, allocations: 0.9308 MB / 0.5671 GB, free: 10.8 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.6141, allocations: 104.8 kB / 0.5672 GB, free: 10.68 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.6142, allocations: 8 kB / 0.5673 GB, free: 10.67 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.6147, allocations: 7.906 kB / 0.5673 GB, free: 10.66 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.6148, allocations: 39.86 kB / 0.5673 GB, free: 10.62 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.6149, allocations: 11.98 kB / 0.5673 GB, free: 10.61 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.615, allocations: 140.5 kB / 0.5674 GB, free: 10.47 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6151, allocations: 0 / 0.5674 GB, free: 10.47 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008049/0.6159, allocations: 64 kB / 0.5675 GB, free: 10.41 MB / 411.1 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.0001948/0.6161, allocations: 115.3 kB / 0.5676 GB, free: 10.29 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.6167, allocations: 244 kB / 0.5678 GB, free: 10.05 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6168, allocations: 7.938 kB / 0.5679 GB, free: 10.04 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.6171, allocations: 112 kB / 0.568 GB, free: 9.934 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.6179, allocations: 58.03 kB / 0.568 GB, free: 9.879 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.6207, allocations: 1.14 MB / 0.5691 GB, free: 8.672 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.6212, allocations: 0.7959 MB / 0.5699 GB, free: 7.852 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.6214, allocations: 27.44 kB / 0.5699 GB, free: 7.824 MB / 411.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6214, allocations: 0 / 0.5699 GB, free: 7.824 MB / 411.1 MB Notification: Performance of Templates: time 0.009444/0.6309, allocations: 3.711 MB / 0.5736 GB, free: 4.117 MB / 411.1 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