Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009813/0.0009815, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008586/0.0008584, allocations: 88.39 kB / 281.6 MB, free: 5.32 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.2874/0.2874, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.631e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.611, allocations: 87.76 MB / 0.5804 GB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.6113, allocations: 71.95 kB / 0.5804 GB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.6278, allocations: 7.786 MB / 0.588 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6278, allocations: 0 / 0.588 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.6279, allocations: 4 kB / 0.588 GB, free: 0.8828 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005809/0.6285, allocations: 0.5528 MB / 0.5886 GB, free: 292 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6285, allocations: 11.98 kB / 0.5886 GB, free: 280 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.6286, allocations: 47.42 kB / 0.5886 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.6291, allocations: 327.3 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.6291, allocations: 4 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.6291, allocations: 4 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.677e-05/0.6292, allocations: 12 kB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.6293, allocations: 41.69 kB / 0.589 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6293, allocations: 0 / 0.589 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6293, allocations: 7.875 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6293, allocations: 8 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.6299, allocations: 409.2 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.6301, allocations: 38.56 kB / 0.5895 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.6301, allocations: 8.859 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6301, allocations: 0 / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6302, allocations: 42.5 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6302, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004352/0.6306, allocations: 176.2 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.6307, allocations: 55.39 kB / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6317, allocations: 0.751 MB / 0.5905 GB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.6318, allocations: 29.7 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.6319, allocations: 212 kB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.6319, allocations: 19.73 kB / 0.5907 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.632, allocations: 0 / 0.5907 GB, free: 13.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6321, allocations: 362.8 kB / 0.5911 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.6321, allocations: 15.94 kB / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.6322, allocations: 8 kB / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.6322, allocations: 11.98 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6322, allocations: 0 / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001245/0.6323, allocations: 89.14 kB / 0.5912 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6323, allocations: 4 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6324, allocations: 4 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6324, allocations: 0 / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.6325, allocations: 19.98 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6325, allocations: 4 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.6326, allocations: 7.984 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6326, allocations: 0 / 0.5912 GB, free: 13.44 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 (5): * Single equations (assignments): 5 * 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.473e-05/0.6326, allocations: 115.1 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.6327, allocations: 39.53 kB / 0.5914 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.6329, allocations: 109.4 kB / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6329, allocations: 0 / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6329, allocations: 0 / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6329, allocations: 0 / 0.5915 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.6336, allocations: 0.5459 MB / 0.592 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6336, allocations: 0 / 0.592 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.6336, allocations: 19.98 kB / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6337, allocations: 0 / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.6337, allocations: 0 / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6337, allocations: 4 kB / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6337, allocations: 0 / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.6339, allocations: 191 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6341, allocations: 164.5 kB / 0.5924 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.6342, allocations: 0 / 0.5924 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.6343, allocations: 11.98 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.6343, allocations: 7.938 kB / 0.5924 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.6343, allocations: 0 / 0.5924 GB, free: 12.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006139/0.6349, allocations: 0.6082 MB / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.635, allocations: 0 / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003101/0.6353, allocations: 59.94 kB / 0.593 GB, free: 11.48 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 (5): * Single equations (assignments): 5 * 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.0008392/0.6361, allocations: 351.8 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.6362, allocations: 24 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6362, allocations: 0 / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.6363, allocations: 19.94 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.6366, allocations: 25.97 kB / 0.5934 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.6378, allocations: 0.7065 MB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.6382, allocations: 0.8263 MB / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.6383, allocations: 39.78 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.6384, allocations: 27.42 kB / 0.595 GB, free: 9.492 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6384, allocations: 0 / 0.595 GB, free: 9.492 MB / 410.7 MB Notification: Performance of Templates: time 0.006221/0.6446, allocations: 2.099 MB / 0.597 GB, free: 7.383 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches