Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002391, allocations: 181.6 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.045/2.045, 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.001062/0.001062, allocations: 90.69 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.2752/0.2752, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.975e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5845, allocations: 86.36 MB / 0.5571 GB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5848, allocations: 70.06 kB / 0.5572 GB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.5997, allocations: 3.539 MB / 0.5607 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5997, allocations: 0 / 0.5607 GB, free: 14.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5998, allocations: 0 / 0.5607 GB, free: 14.23 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.000426/0.6002, allocations: 366 kB / 0.561 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6003, allocations: 16.02 kB / 0.561 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.6003, allocations: 7.906 kB / 0.561 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.6006, allocations: 190.5 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6006, allocations: 3.625 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.6007, allocations: 4 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.6008, allocations: 41.38 kB / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6008, allocations: 0 / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6008, allocations: 3.625 kB / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.6008, allocations: 0 / 0.5613 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.6009, allocations: 19.55 kB / 0.5613 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.6014, allocations: 287.3 kB / 0.5616 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.6016, allocations: 38.31 kB / 0.5616 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.6017, allocations: 12.42 kB / 0.5616 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.6017, allocations: 7.922 kB / 0.5616 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6018, allocations: 38.56 kB / 0.5616 GB, free: 13.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.6018, allocations: 0 / 0.5616 GB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005064/0.6023, allocations: 104.2 kB / 0.5617 GB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.6024, allocations: 66.92 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.6025, allocations: 127.5 kB / 0.5619 GB, free: 12.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6026, allocations: 29.14 kB / 0.562 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.6027, allocations: 154.1 kB / 0.5621 GB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.6027, allocations: 27.39 kB / 0.5621 GB, free: 12.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.6027, allocations: 3.938 kB / 0.5621 GB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6028, allocations: 310.8 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.6029, allocations: 11.75 kB / 0.5624 GB, free: 12.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.603, allocations: 15.19 kB / 0.5625 GB, free: 12.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.603, allocations: 15.67 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.603, allocations: 0 / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.6032, allocations: 60.38 kB / 0.5625 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6032, allocations: 11.94 kB / 0.5625 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6033, allocations: 4 kB / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6033, allocations: 0 / 0.5625 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6034, allocations: 19.92 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6034, allocations: 0 / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.6035, allocations: 8.203 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6036, allocations: 0 / 0.5626 GB, free: 12.16 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 8.299e-05/0.6037, allocations: 109 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.6037, allocations: 15.34 kB / 0.5627 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.6039, allocations: 79.77 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.604, allocations: 0 / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.604, allocations: 0 / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.604, allocations: 0 / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.6045, allocations: 339.7 kB / 0.5631 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6045, allocations: 0 / 0.5631 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6046, allocations: 15.98 kB / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6046, allocations: 4 kB / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6047, allocations: 0 / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6047, allocations: 0 / 0.5631 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.6047, allocations: 7.953 kB / 0.5631 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.6049, allocations: 165.6 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.605, allocations: 85 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.605, allocations: 7.562 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6051, allocations: 4 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.6052, allocations: 11.94 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.6052, allocations: 4 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.6053, allocations: 110 kB / 0.5635 GB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6054, allocations: 0 / 0.5635 GB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.6057, allocations: 23.88 kB / 0.5635 GB, free: 11.16 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.001074/0.6068, allocations: 360.2 kB / 0.5639 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.607, allocations: 34.62 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.607, allocations: 7.438 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.6071, allocations: 19.48 kB / 0.5639 GB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.6073, allocations: 17.06 kB / 0.5639 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.6078, allocations: 139.2 kB / 0.5641 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.6081, allocations: 0.6991 MB / 0.5647 GB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.6081, allocations: 11.44 kB / 0.5648 GB, free: 9.922 MB / 378.7 MB Notification: Performance of SimCode: time 4.518e-06/0.6081, allocations: 0 / 0.5648 GB, free: 9.922 MB / 378.7 MB Notification: Performance of Templates: time 0.004257/0.6124, allocations: 1.422 MB / 0.5661 GB, free: 8.508 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches