Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.308/1.308, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 91.72 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1873/0.1873, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.406e-05, allocations: 0 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5383, allocations: 88.54 MB / 0.5882 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.5386, allocations: 75.95 kB / 0.5882 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.557, allocations: 8.365 MB / 0.5964 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5571, allocations: 4 kB / 0.5964 GB, free: 8.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.5571, allocations: 8 kB / 0.5964 GB, free: 8.332 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.0005667/0.5577, allocations: 0.5503 MB / 0.597 GB, free: 7.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5577, allocations: 12.03 kB / 0.597 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.5578, allocations: 43.42 kB / 0.597 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.5584, allocations: 327.3 kB / 0.5973 GB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.5584, allocations: 4 kB / 0.5973 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.5584, allocations: 4 kB / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5585, allocations: 57.62 kB / 0.5974 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5586, allocations: 0 / 0.5974 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5586, allocations: 7.984 kB / 0.5974 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5586, allocations: 0 / 0.5974 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.5587, allocations: 20 kB / 0.5974 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.5593, allocations: 448.5 kB / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.5594, allocations: 46.52 kB / 0.5979 GB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.5595, allocations: 12.86 kB / 0.5979 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5595, allocations: 4 kB / 0.5979 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.5595, allocations: 34.59 kB / 0.5979 GB, free: 6.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5595, allocations: 3.938 kB / 0.5979 GB, free: 6.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.5601, allocations: 236 kB / 0.5982 GB, free: 6.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5602, allocations: 55.41 kB / 0.5982 GB, free: 6.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.5613, allocations: 0.7772 MB / 0.599 GB, free: 5.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5613, allocations: 29.7 kB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5615, allocations: 227.9 kB / 0.5992 GB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.5615, allocations: 27.64 kB / 0.5992 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.5616, allocations: 0 / 0.5992 GB, free: 5.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5617, allocations: 358.8 kB / 0.5996 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.5618, allocations: 16 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.5618, allocations: 16 kB / 0.5996 GB, free: 4.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.5618, allocations: 23.98 kB / 0.5996 GB, free: 4.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5619, allocations: 0 / 0.5996 GB, free: 4.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001586/0.562, allocations: 113.1 kB / 0.5997 GB, free: 4.703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.562, allocations: 4 kB / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5621, allocations: 0 / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5621, allocations: 7.891 kB / 0.5998 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.5622, allocations: 19.98 kB / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5622, allocations: 320 / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.5623, allocations: 16 kB / 0.5998 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5623, allocations: 0 / 0.5998 GB, free: 4.656 MB / 410.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 (8): * Single equations (assignments): 8 * 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.203e-05/0.5624, allocations: 105 kB / 0.5999 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.5625, allocations: 47.42 kB / 0.5999 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.5627, allocations: 145.5 kB / 0.6001 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5627, allocations: 0 / 0.6001 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5627, allocations: 3.953 kB / 0.6001 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5627, allocations: 4 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.5636, allocations: 0.6162 MB / 0.6007 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5636, allocations: 0 / 0.6007 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.5637, allocations: 23.98 kB / 0.6007 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5637, allocations: 3.953 kB / 0.6007 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5637, allocations: 4 kB / 0.6007 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5637, allocations: 32 / 0.6007 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.5637, allocations: 4 kB / 0.6007 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.564, allocations: 229.5 kB / 0.6009 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.5642, allocations: 168.5 kB / 0.6011 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.5642, allocations: 4 kB / 0.6011 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5643, allocations: 8 kB / 0.6011 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5644, allocations: 11.92 kB / 0.6011 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5644, allocations: 4 kB / 0.6011 GB, free: 3.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006656/0.5651, allocations: 0.6381 MB / 0.6017 GB, free: 2.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5651, allocations: 0 / 0.6017 GB, free: 2.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.5654, allocations: 63.94 kB / 0.6018 GB, free: 2.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000963/0.5663, allocations: 421.7 kB / 0.6022 GB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5665, allocations: 43.94 kB / 0.6023 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5665, allocations: 0 / 0.6023 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.5665, allocations: 40.06 kB / 0.6023 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.5668, allocations: 18.09 kB / 0.6023 GB, free: 2.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.5679, allocations: 0.7395 MB / 0.603 GB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5684, allocations: 0.834 MB / 0.6038 GB, free: 452 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.226e-05/0.5685, allocations: 40.67 kB / 0.6039 GB, free: 412 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.5686, allocations: 19.44 kB / 0.6039 GB, free: 392 kB / 410.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5686, allocations: 4 kB / 0.6039 GB, free: 388 kB / 410.7 MB Notification: Performance of Templates: time 0.006594/0.5752, allocations: 2.666 MB / 0.6065 GB, free: 13.71 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches