Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009953/0.0009954, 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.253/1.253, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008721/0.0008722, allocations: 95.42 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.3156/0.3156, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 11.98 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3369, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.4516, allocations: 87.46 MB / 0.595 GB, free: 7.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4519, allocations: 79.92 kB / 0.595 GB, free: 7.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007035/0.459, allocations: 3.233 MB / 0.5982 GB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.459, allocations: 0 / 0.5982 GB, free: 4.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.459, allocations: 0 / 0.5982 GB, free: 4.352 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003277/0.4594, allocations: 359.2 kB / 0.5985 GB, free: 3.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4594, allocations: 12.03 kB / 0.5986 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4595, allocations: 7.906 kB / 0.5986 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4596, allocations: 171.3 kB / 0.5987 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4596, allocations: 11.95 kB / 0.5987 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.4597, allocations: 7.938 kB / 0.5987 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.4599, allocations: 184.7 kB / 0.5989 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4599, allocations: 3.938 kB / 0.5989 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4599, allocations: 8 kB / 0.5989 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.46, allocations: 11.98 kB / 0.5989 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.46, allocations: 59.78 kB / 0.599 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4611, allocations: 1.701 MB / 0.6007 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.4612, allocations: 169.1 kB / 0.6008 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4612, allocations: 79.22 kB / 0.6009 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4612, allocations: 105.8 kB / 0.601 GB, free: 1.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.4613, allocations: 4 kB / 0.601 GB, free: 1.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.06e-05/0.4613, allocations: 41.61 kB / 0.601 GB, free: 1.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4614, allocations: 126.7 kB / 0.6012 GB, free: 1.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.4616, allocations: 167.2 kB / 0.6013 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4616, allocations: 25.7 kB / 0.6013 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4617, allocations: 151.1 kB / 0.6015 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.4617, allocations: 7.984 kB / 0.6015 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.4617, allocations: 0 / 0.6015 GB, free: 0.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4619, allocations: 318.8 kB / 0.6018 GB, free: 356 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.4619, allocations: 39.92 kB / 0.6018 GB, free: 316 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.462, allocations: 159.5 kB / 0.602 GB, free: 96 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.4621, allocations: 63.92 kB / 0.6021 GB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4621, allocations: 0 / 0.6021 GB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002983/0.4624, allocations: 197.2 kB / 0.6022 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4625, allocations: 4 kB / 0.6022 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4625, allocations: 8 kB / 0.6023 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4625, allocations: 4.625 kB / 0.6023 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4626, allocations: 39.92 kB / 0.6023 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4626, allocations: 12 kB / 0.6023 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.4627, allocations: 23.7 kB / 0.6023 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4627, allocations: 12 kB / 0.6023 GB, free: 15.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001282/0.4629, allocations: 217.5 kB / 0.6025 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.4629, allocations: 116.8 kB / 0.6027 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.463, allocations: 116.8 kB / 0.6028 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.652e-05/0.4631, allocations: 180.3 kB / 0.6029 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.938e-05/0.4632, allocations: 184.2 kB / 0.6031 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/0.4632, allocations: 184.2 kB / 0.6033 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4635, allocations: 425.1 kB / 0.6037 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.4635, allocations: 101 kB / 0.6038 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.4636, allocations: 108.9 kB / 0.6039 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.564e-05/0.4636, allocations: 180.3 kB / 0.6041 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.4637, allocations: 184.3 kB / 0.6042 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.766e-05/0.4638, allocations: 184.2 kB / 0.6044 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.431e-05/0.4638, allocations: 176.3 kB / 0.6046 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.464, allocations: 323.6 kB / 0.6049 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.4641, allocations: 190 kB / 0.6051 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.4642, allocations: 184.2 kB / 0.6053 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.4643, allocations: 105 kB / 0.6054 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.4643, allocations: 180.2 kB / 0.6055 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.4644, allocations: 109 kB / 0.6056 GB, free: 12.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.4645, allocations: 133.2 kB / 0.6058 GB, free: 12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4645, allocations: 0 / 0.6058 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.4648, allocations: 12 kB / 0.6058 GB, free: 11.99 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005789/0.4653, allocations: 271.2 kB / 0.606 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.4655, allocations: 76.09 kB / 0.6061 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4655, allocations: 0 / 0.6061 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4655, allocations: 0 / 0.6061 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.4658, allocations: 0.5311 MB / 0.6066 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.4662, allocations: 283 kB / 0.6069 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4666, allocations: 0.7009 MB / 0.6076 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.4667, allocations: 49.02 kB / 0.6076 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.4667, allocations: 19.38 kB / 0.6076 GB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4667, allocations: 0 / 0.6076 GB, free: 10.06 MB / 426.7 MB Notification: Performance of Templates: time 0.002796/0.4695, allocations: 0.7039 MB / 0.6083 GB, free: 9.363 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches