Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.000923, allocations: 100.4 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2989/0.2989, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3112, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4228, allocations: 88.56 MB / 0.596 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4231, allocations: 83.92 kB / 0.5961 GB, free: 6.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.4342, allocations: 4.493 MB / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4343, allocations: 0 / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4343, allocations: 3.938 kB / 0.6005 GB, free: 2.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004566/0.4348, allocations: 414.9 kB / 0.6009 GB, free: 1.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4348, allocations: 8.562 kB / 0.6009 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4348, allocations: 11.81 kB / 0.6009 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.4351, allocations: 200.9 kB / 0.6011 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4351, allocations: 11.95 kB / 0.6011 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4351, allocations: 7.938 kB / 0.6011 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.4353, allocations: 69.61 kB / 0.6012 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4353, allocations: 0 / 0.6012 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4353, allocations: 0 / 0.6012 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4353, allocations: 0 / 0.6012 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.4355, allocations: 55.95 kB / 0.6012 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.4359, allocations: 308.6 kB / 0.6015 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.4362, allocations: 62.55 kB / 0.6016 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4362, allocations: 0 / 0.6016 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4363, allocations: 38.55 kB / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.4363, allocations: 0 / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.4378, allocations: 461 kB / 0.6021 GB, free: 240 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4378, allocations: 60.64 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.438, allocations: 155.2 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.438, allocations: 29.7 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4381, allocations: 108.1 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4381, allocations: 35.45 kB / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4381, allocations: 0 / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4383, allocations: 322.8 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.4384, allocations: 51.97 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4385, allocations: 48.08 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4387, allocations: 60.12 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4387, allocations: 4 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003003/0.439, allocations: 157.4 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.439, allocations: 5.562 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.439, allocations: 4 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.439, allocations: 0 / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4391, allocations: 31.97 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4391, allocations: 4 kB / 0.6031 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.4392, allocations: 19.84 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.4392, allocations: 4 kB / 0.6031 GB, free: 15.11 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001055/0.4394, allocations: 127.2 kB / 0.6033 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.4394, allocations: 7.906 kB / 0.6033 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.4398, allocations: 182.2 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4398, allocations: 4.562 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4398, allocations: 0 / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4398, allocations: 3.938 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.4404, allocations: 491.9 kB / 0.6039 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4405, allocations: 4 kB / 0.6039 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.4406, allocations: 36.05 kB / 0.6039 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4406, allocations: 0 / 0.6039 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4406, allocations: 11.94 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4406, allocations: 0 / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.4406, allocations: 7.938 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.441, allocations: 280.5 kB / 0.6042 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.441, allocations: 97 kB / 0.6043 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.4411, allocations: 4 kB / 0.6043 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.4412, allocations: 15.98 kB / 0.6043 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4412, allocations: 11.98 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.4412, allocations: 4 kB / 0.6044 GB, free: 13.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4413, allocations: 125.9 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.512e-06/0.4414, allocations: 0 / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000259/0.4416, allocations: 43.86 kB / 0.6045 GB, free: 13.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009583/0.4426, allocations: 461 kB / 0.605 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.4429, allocations: 123.8 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4429, allocations: 0 / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.4431, allocations: 71.97 kB / 0.6052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.4433, allocations: 19.94 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4438, allocations: 287.1 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.4441, allocations: 0.7082 MB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.4442, allocations: 24.53 kB / 0.6062 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.4442, allocations: 15.44 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4442, allocations: 0 / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Templates: time 0.003742/0.448, allocations: 1.484 MB / 0.6076 GB, free: 10.52 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches