Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, 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.141/2.141, 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.001132/0.001132, allocations: 86.64 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.2867/0.2867, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.688e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6317, allocations: 87.39 MB / 0.5581 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.632, allocations: 75.52 kB / 0.5582 GB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.6505, allocations: 4.399 MB / 0.5625 GB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6505, allocations: 8 kB / 0.5625 GB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.6505, allocations: 0 / 0.5625 GB, free: 12.63 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.0004954/0.651, allocations: 390 kB / 0.5629 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6511, allocations: 8.031 kB / 0.5629 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.6512, allocations: 11.86 kB / 0.5629 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.6514, allocations: 186.7 kB / 0.5631 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6515, allocations: 7.938 kB / 0.5631 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.6515, allocations: 8 kB / 0.5631 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.6517, allocations: 63 kB / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.6517, allocations: 0 / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.6518, allocations: 4 kB / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6518, allocations: 0 / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.6519, allocations: 23.48 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.6525, allocations: 323.3 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6526, allocations: 46.38 kB / 0.5635 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.6527, allocations: 16.3 kB / 0.5636 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6527, allocations: 0 / 0.5636 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6527, allocations: 30.56 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6527, allocations: 4 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006694/0.6534, allocations: 156.5 kB / 0.5637 GB, free: 11.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.6535, allocations: 84.48 kB / 0.5638 GB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.6537, allocations: 127.8 kB / 0.5639 GB, free: 11.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.6537, allocations: 25.7 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.6538, allocations: 168.8 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.6538, allocations: 26.97 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6539, allocations: 0 / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.654, allocations: 310.8 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.6541, allocations: 25.67 kB / 0.5645 GB, free: 10.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.6542, allocations: 32.64 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.6542, allocations: 27.23 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6543, allocations: 0 / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002028/0.6545, allocations: 83.88 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6545, allocations: 11.97 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6545, allocations: 320 / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6545, allocations: 3.953 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.6548, allocations: 27.97 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6548, allocations: 0 / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.6549, allocations: 8 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.6549, allocations: 15.97 kB / 0.5647 GB, free: 10.34 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.994e-05/0.655, allocations: 108.7 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.6551, allocations: 7.906 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.6554, allocations: 103.7 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6554, allocations: 3.953 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6554, allocations: 4 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6554, allocations: 0 / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.656, allocations: 376.5 kB / 0.5652 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.656, allocations: 4 kB / 0.5653 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.6562, allocations: 19.98 kB / 0.5653 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6562, allocations: 7.938 kB / 0.5653 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.6562, allocations: 7 kB / 0.5653 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6563, allocations: 0 / 0.5653 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6563, allocations: 0 / 0.5653 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.6565, allocations: 187.9 kB / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.6566, allocations: 84.45 kB / 0.5655 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.6566, allocations: 7.953 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6568, allocations: 12.12 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.6569, allocations: 19.59 kB / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.6569, allocations: 8 kB / 0.5656 GB, free: 9.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.657, allocations: 107.3 kB / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.657, allocations: 4 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.6574, allocations: 27.19 kB / 0.5657 GB, free: 9.27 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.001162/0.6586, allocations: 402.6 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.6588, allocations: 58.05 kB / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6588, allocations: 0 / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.6589, allocations: 38.5 kB / 0.5662 GB, free: 8.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.6592, allocations: 16.81 kB / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.6597, allocations: 167.6 kB / 0.5664 GB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.66, allocations: 0.7 MB / 0.5671 GB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.6601, allocations: 19.42 kB / 0.5671 GB, free: 7.934 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6601, allocations: 0 / 0.5671 GB, free: 7.934 MB / 378.7 MB Notification: Performance of Templates: time 0.005209/0.6654, allocations: 1.857 MB / 0.5689 GB, free: 6.082 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches