Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 181 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.126/2.126, 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.001086/0.001086, allocations: 78.66 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.2841/0.2841, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.38e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.612, allocations: 86.99 MB / 0.5577 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.6124, allocations: 78.52 kB / 0.5578 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.6297, allocations: 4.296 MB / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6298, allocations: 0 / 0.562 GB, free: 13.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.6298, allocations: 0 / 0.562 GB, free: 13.16 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.0005218/0.6304, allocations: 384.6 kB / 0.5624 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6304, allocations: 8.031 kB / 0.5624 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.6305, allocations: 11.94 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.6308, allocations: 191.4 kB / 0.5626 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6308, allocations: 4 kB / 0.5626 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6308, allocations: 7.547 kB / 0.5626 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.631, allocations: 58.45 kB / 0.5627 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.631, allocations: 7.984 kB / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6311, allocations: 0 / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6311, allocations: 0 / 0.5627 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.6312, allocations: 22.56 kB / 0.5627 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.6317, allocations: 294 kB / 0.563 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.6318, allocations: 34.45 kB / 0.563 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.6319, allocations: 19.92 kB / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.6319, allocations: 0 / 0.563 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.632, allocations: 30.56 kB / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.958e-06/0.632, allocations: 0 / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006776/0.6327, allocations: 150.5 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.6327, allocations: 81.11 kB / 0.5633 GB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.6329, allocations: 128.9 kB / 0.5634 GB, free: 11.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.633, allocations: 29.64 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.6331, allocations: 157.2 kB / 0.5636 GB, free: 11.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.6331, allocations: 23.45 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.6331, allocations: 0 / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6333, allocations: 314.8 kB / 0.5639 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.6333, allocations: 17.75 kB / 0.5639 GB, free: 11.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.6334, allocations: 28.41 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.6335, allocations: 18.61 kB / 0.5639 GB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6335, allocations: 0 / 0.5639 GB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001993/0.6337, allocations: 75.31 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6338, allocations: 8 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6338, allocations: 3.953 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6338, allocations: 0 / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.634, allocations: 27.95 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6341, allocations: 7.938 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.6342, allocations: 19.42 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.6342, allocations: 4 kB / 0.5641 GB, free: 10.95 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 8.613e-05/0.6343, allocations: 101 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.6344, allocations: 11.22 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.6347, allocations: 92.28 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.6347, allocations: 3.953 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.6347, allocations: 4.141 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.6347, allocations: 7.922 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.6353, allocations: 352.5 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6353, allocations: 0 / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.6355, allocations: 23.98 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6355, allocations: 7.953 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6355, allocations: 0 / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6355, allocations: 0 / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6355, allocations: 0 / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.6358, allocations: 176.5 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.6359, allocations: 85 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.6359, allocations: 7.953 kB / 0.5649 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6361, allocations: 19.8 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.6361, allocations: 7.984 kB / 0.5649 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.6362, allocations: 0 / 0.5649 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.6363, allocations: 108.2 kB / 0.5651 GB, free: 9.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6363, allocations: 0 / 0.5651 GB, free: 9.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.6367, allocations: 38.86 kB / 0.5651 GB, free: 9.91 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.001183/0.6379, allocations: 411 kB / 0.5655 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.6381, allocations: 41.31 kB / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6381, allocations: 0 / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.6382, allocations: 30.73 kB / 0.5656 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.6385, allocations: 17.42 kB / 0.5656 GB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.639, allocations: 151.9 kB / 0.5657 GB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6393, allocations: 0.7004 MB / 0.5664 GB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.6395, allocations: 19.42 kB / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6395, allocations: 0 / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of Templates: time 0.005228/0.6447, allocations: 1.755 MB / 0.5681 GB, free: 6.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches