Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 181.3 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.06/2.06, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001111/0.001111, allocations: 97.72 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.2833/0.2833, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.247e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6152, allocations: 86.74 MB / 0.5575 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.6155, allocations: 82.72 kB / 0.5576 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.6322, allocations: 4.103 MB / 0.5616 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6323, allocations: 0 / 0.5616 GB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.6323, allocations: 0 / 0.5616 GB, free: 13.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000498/0.6328, allocations: 380.7 kB / 0.562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6329, allocations: 12.03 kB / 0.562 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.633, allocations: 11.86 kB / 0.562 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.6332, allocations: 194 kB / 0.5622 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.6333, allocations: 7.938 kB / 0.5622 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.6333, allocations: 4 kB / 0.5622 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6334, allocations: 52.23 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6335, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6335, allocations: 3.25 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6335, allocations: 0 / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.6336, allocations: 15.5 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.634, allocations: 299.8 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.6342, allocations: 36.75 kB / 0.5626 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.6342, allocations: 16.67 kB / 0.5626 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.6342, allocations: 0 / 0.5626 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6343, allocations: 30.56 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.6343, allocations: 4 kB / 0.5626 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006233/0.635, allocations: 147.8 kB / 0.5628 GB, free: 12.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.635, allocations: 54.66 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.6352, allocations: 154.2 kB / 0.563 GB, free: 11.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.6353, allocations: 25.7 kB / 0.563 GB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.6354, allocations: 161.2 kB / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.6354, allocations: 26.97 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.6354, allocations: 3.25 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6356, allocations: 318.8 kB / 0.5635 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.6356, allocations: 15.31 kB / 0.5635 GB, free: 11.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.6357, allocations: 15.31 kB / 0.5635 GB, free: 11.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.6358, allocations: 15.19 kB / 0.5635 GB, free: 11.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6358, allocations: 3.938 kB / 0.5635 GB, free: 11.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001672/0.636, allocations: 68 kB / 0.5636 GB, free: 11.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.636, allocations: 8 kB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.636, allocations: 0 / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.636, allocations: 8.031 kB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.6362, allocations: 31.98 kB / 0.5636 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6363, allocations: 0 / 0.5636 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.6364, allocations: 15.97 kB / 0.5636 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.6364, allocations: 7 kB / 0.5636 GB, free: 11.12 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 (7): * Single equations (assignments): 7 * 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.841e-05/0.6365, allocations: 101 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.6366, allocations: 11.91 kB / 0.5638 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.6368, allocations: 102.5 kB / 0.5638 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6368, allocations: 3.953 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6369, allocations: 0 / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6369, allocations: 3.984 kB / 0.5639 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.6374, allocations: 362.1 kB / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6374, allocations: 0 / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6376, allocations: 23.98 kB / 0.5642 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6376, allocations: 7.953 kB / 0.5642 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6377, allocations: 3.984 kB / 0.5642 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6377, allocations: 0 / 0.5642 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6377, allocations: 0 / 0.5642 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.6379, allocations: 175.4 kB / 0.5644 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.638, allocations: 88.27 kB / 0.5645 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.638, allocations: 7.938 kB / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.6382, allocations: 19.94 kB / 0.5645 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.6383, allocations: 3.984 kB / 0.5645 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.6383, allocations: 7.75 kB / 0.5645 GB, free: 10.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.6385, allocations: 132.8 kB / 0.5647 GB, free: 10.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6385, allocations: 0 / 0.5647 GB, free: 10.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000326/0.6388, allocations: 22.81 kB / 0.5647 GB, free: 10.06 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 (7): * Single equations (assignments): 7 * 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.001073/0.6399, allocations: 370.5 kB / 0.565 GB, free: 9.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.6401, allocations: 37.94 kB / 0.5651 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6401, allocations: 0 / 0.5651 GB, free: 9.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.6402, allocations: 28.67 kB / 0.5651 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6405, allocations: 21.36 kB / 0.5651 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.641, allocations: 170.9 kB / 0.5653 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6413, allocations: 0.7131 MB / 0.566 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.6414, allocations: 11.44 kB / 0.566 GB, free: 8.762 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6414, allocations: 0 / 0.566 GB, free: 8.762 MB / 378.7 MB Notification: Performance of Templates: time 0.004818/0.6462, allocations: 1.645 MB / 0.5676 GB, free: 7.125 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches