Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 180.1 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.239/1.239, allocations: 221.3 MB / 236 MB, free: 2.938 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.0008227/0.0008227, allocations: 88.05 kB / 287 MB, free: 236 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.173/0.173, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.622e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4478, allocations: 88.67 MB / 0.5883 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.448, allocations: 71.86 kB / 0.5884 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0163/0.4643, allocations: 8.068 MB / 0.5962 GB, free: 8.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4643, allocations: 0 / 0.5962 GB, free: 8.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.4644, allocations: 8 kB / 0.5962 GB, free: 8.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005958/0.465, allocations: 0.5442 MB / 0.5968 GB, free: 7.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.465, allocations: 12.03 kB / 0.5968 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.4651, allocations: 47.44 kB / 0.5968 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4657, allocations: 331.2 kB / 0.5972 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4657, allocations: 3.828 kB / 0.5972 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4657, allocations: 0 / 0.5972 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4658, allocations: 49.69 kB / 0.5972 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4658, allocations: 0 / 0.5972 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4659, allocations: 0 / 0.5972 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4659, allocations: 0 / 0.5972 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.4659, allocations: 23.92 kB / 0.5972 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.4666, allocations: 440.8 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.4667, allocations: 34.67 kB / 0.5977 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.4667, allocations: 20.84 kB / 0.5977 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.4668, allocations: 0 / 0.5977 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4668, allocations: 39.83 kB / 0.5977 GB, free: 6.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4668, allocations: 0 / 0.5977 GB, free: 6.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001941/0.467, allocations: 97.06 kB / 0.5978 GB, free: 6.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.467, allocations: 51.41 kB / 0.5979 GB, free: 6.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4682, allocations: 0.7772 MB / 0.5986 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4682, allocations: 29.7 kB / 0.5987 GB, free: 5.844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4684, allocations: 208.1 kB / 0.5989 GB, free: 5.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4685, allocations: 15.83 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.4685, allocations: 8 kB / 0.5989 GB, free: 5.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4687, allocations: 362.7 kB / 0.5992 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.4687, allocations: 12 kB / 0.5992 GB, free: 5.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.4687, allocations: 8 kB / 0.5993 GB, free: 5.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.4688, allocations: 7.984 kB / 0.5993 GB, free: 5.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4688, allocations: 0 / 0.5993 GB, free: 5.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001437/0.4689, allocations: 101.1 kB / 0.5994 GB, free: 5.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4689, allocations: 5.25 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.469, allocations: 0 / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.469, allocations: 0 / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.4691, allocations: 12 kB / 0.5994 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4691, allocations: 0 / 0.5994 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.4692, allocations: 11.98 kB / 0.5994 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4692, allocations: 3.938 kB / 0.5994 GB, free: 5.086 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 (3): * Single equations (assignments): 3 * 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.58e-05/0.4693, allocations: 108.9 kB / 0.5995 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4694, allocations: 39.44 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.4696, allocations: 120.9 kB / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4696, allocations: 0 / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4696, allocations: 0 / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4696, allocations: 0 / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.4699, allocations: 337.4 kB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4699, allocations: 0 / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.47, allocations: 8 kB / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.47, allocations: 3.984 kB / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.47, allocations: 0 / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.47, allocations: 0 / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.47, allocations: 4 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4702, allocations: 187 kB / 0.6002 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.4704, allocations: 160.5 kB / 0.6003 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.4704, allocations: 4 kB / 0.6003 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.4705, allocations: 15.98 kB / 0.6003 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.4706, allocations: 3.938 kB / 0.6003 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4706, allocations: 0 / 0.6003 GB, free: 4.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006516/0.4712, allocations: 0.6381 MB / 0.601 GB, free: 3.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4712, allocations: 0 / 0.601 GB, free: 3.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.4715, allocations: 52 kB / 0.601 GB, free: 3.316 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0007986/0.4723, allocations: 315.9 kB / 0.6013 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.4724, allocations: 24 kB / 0.6013 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4724, allocations: 0 / 0.6013 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.4725, allocations: 19.92 kB / 0.6014 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4727, allocations: 19.45 kB / 0.6014 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.4737, allocations: 0.7111 MB / 0.6021 GB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4741, allocations: 0.8301 MB / 0.6029 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.092e-05/0.4742, allocations: 48.41 kB / 0.6029 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.4742, allocations: 19.44 kB / 0.6029 GB, free: 1.367 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4743, allocations: 0 / 0.6029 GB, free: 1.367 MB / 410.7 MB Notification: Performance of Templates: time 0.005327/0.4796, allocations: 2.311 MB / 0.6052 GB, free: 15.05 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches