Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,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.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 182.4 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 1.95/1.95, 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.001119, allocations: 90.7 kB / 267.5 MB, free: 14.05 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.2779/0.2779, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.655e-05, allocations: 11.98 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.6326, allocations: 86.4 MB / 0.5572 GB, free: 1.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.633, allocations: 75.98 kB / 0.5572 GB, free: 1.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.6489, allocations: 3.854 MB / 0.561 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6489, allocations: 0 / 0.561 GB, free: 13.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.6489, allocations: 4 kB / 0.561 GB, free: 13.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004631/0.6494, allocations: 379.8 kB / 0.5614 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6495, allocations: 8.031 kB / 0.5614 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.6495, allocations: 11.89 kB / 0.5614 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.6498, allocations: 200.3 kB / 0.5616 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6499, allocations: 3.062 kB / 0.5616 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.6499, allocations: 11.98 kB / 0.5616 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.65, allocations: 40.3 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6501, allocations: 0 / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6501, allocations: 0 / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6501, allocations: 3.984 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.6502, allocations: 19.05 kB / 0.5617 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6507, allocations: 291.7 kB / 0.5619 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.651, allocations: 45 kB / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.651, allocations: 8.859 kB / 0.562 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.6511, allocations: 0 / 0.562 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.6511, allocations: 49.45 kB / 0.562 GB, free: 12.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.6511, allocations: 0 / 0.562 GB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005224/0.6517, allocations: 114.4 kB / 0.5621 GB, free: 12.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.6517, allocations: 59.3 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.652, allocations: 176.6 kB / 0.5624 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.652, allocations: 25.7 kB / 0.5624 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.6521, allocations: 161.5 kB / 0.5625 GB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.6521, allocations: 23.2 kB / 0.5626 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-06/0.6522, allocations: 0 / 0.5626 GB, free: 12.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6523, allocations: 310.8 kB / 0.5629 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.6524, allocations: 18.62 kB / 0.5629 GB, free: 11.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.6524, allocations: 11.31 kB / 0.5629 GB, free: 11.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.6525, allocations: 14.98 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.6525, allocations: 0 / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001558/0.6526, allocations: 60.5 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6527, allocations: 4 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6527, allocations: 0 / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6527, allocations: 4 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.6529, allocations: 16.17 kB / 0.563 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6529, allocations: 4 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.653, allocations: 15.95 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.653, allocations: 3.938 kB / 0.563 GB, free: 11.72 MB / 378.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 () * 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 7.67e-05/0.6531, allocations: 110.5 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.6531, allocations: 7.906 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.6534, allocations: 75.2 kB / 0.5632 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6534, allocations: 3.984 kB / 0.5632 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6534, allocations: 0 / 0.5632 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6534, allocations: 8 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.6539, allocations: 358.8 kB / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.654, allocations: 0 / 0.5635 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.6541, allocations: 15.98 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6541, allocations: 0 / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.6541, allocations: 0 / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6541, allocations: 0 / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6541, allocations: 3.953 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.6544, allocations: 173.8 kB / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.6544, allocations: 92.91 kB / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.6545, allocations: 0 / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6546, allocations: 8 kB / 0.5638 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.6547, allocations: 7.297 kB / 0.5638 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.6547, allocations: 7.953 kB / 0.5638 GB, free: 10.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.6549, allocations: 144.4 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6549, allocations: 4 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003245/0.6552, allocations: 23.31 kB / 0.564 GB, free: 10.68 MB / 378.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 () * 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.001071/0.6563, allocations: 370.6 kB / 0.5644 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.6565, allocations: 37.25 kB / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6565, allocations: 0 / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.6566, allocations: 23.8 kB / 0.5644 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.6569, allocations: 15.09 kB / 0.5644 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.6574, allocations: 177.5 kB / 0.5646 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.6577, allocations: 0.7116 MB / 0.5653 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.6578, allocations: 11.44 kB / 0.5653 GB, free: 9.383 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6578, allocations: 0 / 0.5653 GB, free: 9.383 MB / 378.7 MB Notification: Performance of Templates: time 0.004713/0.6625, allocations: 1.548 MB / 0.5668 GB, free: 7.844 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches