Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.233/1.233, allocations: 223.2 MB / 241 MB, free: 11.83 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.0007719/0.0007718, allocations: 94.03 kB / 292.2 MB, free: 10.9 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.3283/0.3283, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3267, allocations: 61.9 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4482, allocations: 88.55 MB / 0.596 GB, free: 6.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4485, allocations: 79.94 kB / 0.5961 GB, free: 6.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.4599, allocations: 4.563 MB / 0.6006 GB, free: 1.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4599, allocations: 0 / 0.6006 GB, free: 1.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.4599, allocations: 4 kB / 0.6006 GB, free: 1.922 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.0004761/0.4604, allocations: 418.8 kB / 0.601 GB, free: 1.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4604, allocations: 8.562 kB / 0.601 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.4605, allocations: 7.906 kB / 0.601 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4607, allocations: 196.7 kB / 0.6012 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4608, allocations: 15.95 kB / 0.6012 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4608, allocations: 4 kB / 0.6012 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.4609, allocations: 65.61 kB / 0.6013 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.461, allocations: 0 / 0.6013 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.461, allocations: 0 / 0.6013 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.461, allocations: 0 / 0.6013 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.4611, allocations: 63.83 kB / 0.6013 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.4616, allocations: 308.7 kB / 0.6016 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.4619, allocations: 62.59 kB / 0.6017 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.4619, allocations: 3.984 kB / 0.6017 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4619, allocations: 34.69 kB / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4619, allocations: 0 / 0.6017 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00141/0.4634, allocations: 464.9 kB / 0.6022 GB, free: 140 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4634, allocations: 60.64 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4636, allocations: 169 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4636, allocations: 29.7 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.4637, allocations: 112 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.4637, allocations: 39.45 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4637, allocations: 0 / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4638, allocations: 330.8 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.464, allocations: 43.97 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.4641, allocations: 51.97 kB / 0.603 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4642, allocations: 59.91 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4642, allocations: 0 / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002895/0.4645, allocations: 149.5 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4645, allocations: 8 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4646, allocations: 0 / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4646, allocations: 4 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4647, allocations: 31.92 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.4647, allocations: 0 / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.4648, allocations: 23.94 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4648, allocations: 3.984 kB / 0.6032 GB, free: 15 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.0001019/0.4649, allocations: 133.8 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.4649, allocations: 11.81 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.4654, allocations: 174.3 kB / 0.6035 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4654, allocations: 4 kB / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4654, allocations: 0 / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4654, allocations: 0 / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.466, allocations: 499.9 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.466, allocations: 4 kB / 0.604 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.4661, allocations: 32.48 kB / 0.604 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4662, allocations: 4.062 kB / 0.604 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4662, allocations: 11.95 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4662, allocations: 3.984 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4662, allocations: 4 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4665, allocations: 292.3 kB / 0.6043 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.4666, allocations: 93 kB / 0.6044 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4666, allocations: 4 kB / 0.6044 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.4667, allocations: 19.98 kB / 0.6045 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.4668, allocations: 7.984 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.4668, allocations: 4 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.4669, allocations: 143.1 kB / 0.6046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4669, allocations: 0 / 0.6046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.4672, allocations: 35.94 kB / 0.6046 GB, free: 13.42 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.00102/0.4682, allocations: 469.6 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.4685, allocations: 123.9 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4685, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4687, allocations: 75.95 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4689, allocations: 26.91 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.4694, allocations: 290.8 kB / 0.6056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4697, allocations: 0.7082 MB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.4698, allocations: 20.55 kB / 0.6063 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.4699, allocations: 23.38 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4699, allocations: 0 / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003788/0.4737, allocations: 1.499 MB / 0.6078 GB, free: 10.34 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches