Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 177.8 kB / 8.363 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 2.012/2.012, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001162/0.001162, allocations: 91.5 kB / 262.1 MB, free: 13.87 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.2912/0.2912, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.906e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3946, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5553, allocations: 86.15 MB / 0.55 GB, free: 13.15 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5557, allocations: 79.94 kB / 0.5501 GB, free: 13.07 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0302/0.5859, allocations: 7.91 MB / 0.5578 GB, free: 5.148 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.586, allocations: 0 / 0.5578 GB, free: 5.148 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.586, allocations: 8 kB / 0.5578 GB, free: 5.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007904/0.5868, allocations: 0.5408 MB / 0.5584 GB, free: 4.555 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5869, allocations: 16.02 kB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.587, allocations: 47.39 kB / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.5877, allocations: 323.3 kB / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5877, allocations: 4 kB / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5878, allocations: 0 / 0.5587 GB, free: 4.133 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.81e-05/0.5879, allocations: 12 kB / 0.5588 GB, free: 4.121 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.588, allocations: 45.69 kB / 0.5588 GB, free: 4.07 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.588, allocations: 0 / 0.5588 GB, free: 4.07 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.588, allocations: 0 / 0.5588 GB, free: 4.07 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5881, allocations: 3.953 kB / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.5889, allocations: 417.2 kB / 0.5592 GB, free: 3.621 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.5892, allocations: 34.56 kB / 0.5592 GB, free: 3.578 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.5892, allocations: 8.859 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5893, allocations: 7.984 kB / 0.5593 GB, free: 3.559 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5893, allocations: 34.56 kB / 0.5593 GB, free: 3.516 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.5893, allocations: 4 kB / 0.5593 GB, free: 3.512 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006402/0.59, allocations: 184.1 kB / 0.5595 GB, free: 3.324 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.59, allocations: 59.39 kB / 0.5595 GB, free: 3.254 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.5919, allocations: 0.7473 MB / 0.5603 GB, free: 2.496 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.592, allocations: 25.7 kB / 0.5603 GB, free: 2.465 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.5922, allocations: 234.5 kB / 0.5605 GB, free: 2.234 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.5922, allocations: 15.73 kB / 0.5605 GB, free: 2.219 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.5922, allocations: 4 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5924, allocations: 314.8 kB / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.5924, allocations: 15.94 kB / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.5925, allocations: 7.938 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.5925, allocations: 12.19 kB / 0.5609 GB, free: 1.863 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5926, allocations: 4 kB / 0.5609 GB, free: 1.859 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.5927, allocations: 57.62 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5928, allocations: 4 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5928, allocations: 0 / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5928, allocations: 7.953 kB / 0.5609 GB, free: 1.785 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.593, allocations: 15.98 kB / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.593, allocations: 0 / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5931, allocations: 8 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.5932, allocations: 0 / 0.5609 GB, free: 1.762 MB / 395.1 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.705e-05/0.5933, allocations: 101 kB / 0.561 GB, free: 1.656 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5934, allocations: 47.44 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.5937, allocations: 117.3 kB / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5937, allocations: 3.953 kB / 0.5612 GB, free: 1.48 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5937, allocations: 0 / 0.5612 GB, free: 1.48 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5938, allocations: 3.984 kB / 0.5612 GB, free: 1.477 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5949, allocations: 0.5302 MB / 0.5617 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5949, allocations: 0 / 0.5617 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5951, allocations: 15.98 kB / 0.5617 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.5951, allocations: 4 kB / 0.5617 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5951, allocations: 3.953 kB / 0.5617 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5951, allocations: 0 / 0.5617 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.5951, allocations: 4 kB / 0.5618 GB, free: 0.875 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.5954, allocations: 195.2 kB / 0.5619 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.5957, allocations: 160.6 kB / 0.5621 GB, free: 0.4922 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.5958, allocations: 0 / 0.5621 GB, free: 0.4922 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.596, allocations: 7.953 kB / 0.5621 GB, free: 496 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.596, allocations: 11.98 kB / 0.5621 GB, free: 484 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.5961, allocations: 0 / 0.5621 GB, free: 484 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.5972, allocations: 0.6082 MB / 0.5627 GB, free: 15.87 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5972, allocations: 0 / 0.5627 GB, free: 15.87 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.5977, allocations: 59.84 kB / 0.5628 GB, free: 15.81 MB / 411.1 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.001041/0.5987, allocations: 339.7 kB / 0.5631 GB, free: 15.51 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.5989, allocations: 27.94 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5989, allocations: 0 / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.599, allocations: 19.94 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.5994, allocations: 26.19 kB / 0.5632 GB, free: 15.43 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.6012, allocations: 0.7473 MB / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.6017, allocations: 0.8263 MB / 0.5647 GB, free: 13.8 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.6019, allocations: 31.42 kB / 0.5647 GB, free: 13.77 MB / 411.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6019, allocations: 0 / 0.5647 GB, free: 13.77 MB / 411.1 MB Notification: Performance of Templates: time 0.0126/0.6145, allocations: 4.209 MB / 0.5688 GB, free: 9.555 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches