Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001493, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001123/0.001124, allocations: 94.86 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4953/0.4953, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004583, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5847, allocations: 86.63 MB / 0.5633 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5851, allocations: 75.95 kB / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.6028, allocations: 4.305 MB / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6029, allocations: 0 / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.6029, allocations: 0 / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005324/0.6034, allocations: 383.9 kB / 0.568 GB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.6035, allocations: 12.02 kB / 0.568 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.6035, allocations: 7.906 kB / 0.568 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.6039, allocations: 194.8 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.6039, allocations: 4 kB / 0.5682 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.6039, allocations: 7.562 kB / 0.5682 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.6041, allocations: 63.34 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6042, allocations: 0 / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6042, allocations: 0 / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6042, allocations: 0 / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.6044, allocations: 37 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.6048, allocations: 264.9 kB / 0.5685 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.6051, allocations: 46.59 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.6051, allocations: 3.984 kB / 0.5686 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6052, allocations: 38.56 kB / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.6052, allocations: 0 / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008243/0.606, allocations: 153.6 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.6061, allocations: 81.11 kB / 0.5688 GB, free: 10.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6063, allocations: 124.1 kB / 0.569 GB, free: 10.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.6063, allocations: 29.7 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.6064, allocations: 162.5 kB / 0.5691 GB, free: 9.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.6065, allocations: 15.75 kB / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.6065, allocations: 4 kB / 0.5692 GB, free: 9.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6066, allocations: 310.8 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.6067, allocations: 23.98 kB / 0.5695 GB, free: 9.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.6069, allocations: 33.7 kB / 0.5695 GB, free: 9.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.607, allocations: 29.08 kB / 0.5695 GB, free: 9.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6071, allocations: 0 / 0.5695 GB, free: 9.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003143/0.6074, allocations: 81.61 kB / 0.5696 GB, free: 9.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6074, allocations: 4 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6074, allocations: 3.984 kB / 0.5696 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6075, allocations: 4 kB / 0.5696 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.6076, allocations: 12 kB / 0.5696 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6076, allocations: 4 kB / 0.5696 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6077, allocations: 12.55 kB / 0.5697 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6078, allocations: 3.953 kB / 0.5697 GB, free: 9.289 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.000113/0.6079, allocations: 113.8 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.6079, allocations: 7.906 kB / 0.5698 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.6083, allocations: 98.94 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6083, allocations: 4 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6083, allocations: 0 / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6084, allocations: 0 / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.609, allocations: 354.5 kB / 0.5702 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.609, allocations: 4.688 kB / 0.5702 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.6091, allocations: 16.86 kB / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.6091, allocations: 0 / 0.5702 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6092, allocations: 4 kB / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6092, allocations: 0 / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6092, allocations: 0 / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.6095, allocations: 191.8 kB / 0.5704 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.6096, allocations: 85.28 kB / 0.5705 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.6097, allocations: 8 kB / 0.5705 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6098, allocations: 12 kB / 0.5705 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.6098, allocations: 7.984 kB / 0.5705 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.6099, allocations: 7.984 kB / 0.5705 GB, free: 8.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.61, allocations: 111.2 kB / 0.5706 GB, free: 8.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.365e-06/0.61, allocations: 0 / 0.5706 GB, free: 8.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000361/0.6104, allocations: 35.91 kB / 0.5707 GB, free: 8.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.00135/0.6117, allocations: 451.2 kB / 0.5711 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.6121, allocations: 51.97 kB / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6121, allocations: 0 / 0.5712 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.6123, allocations: 27.92 kB / 0.5712 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.6126, allocations: 19.98 kB / 0.5712 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.6132, allocations: 196.8 kB / 0.5714 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6134, allocations: 0.6887 MB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.6135, allocations: 19.44 kB / 0.5721 GB, free: 6.746 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6135, allocations: 0 / 0.5721 GB, free: 6.746 MB / 394.7 MB Notification: Performance of Templates: time 0.004731/0.6183, allocations: 1.561 MB / 0.5736 GB, free: 5.188 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches