Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 180.2 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.31/1.31, allocations: 221.3 MB / 236 MB, free: 2.953 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.001043/0.001043, allocations: 95.97 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.1897/0.1897, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.519e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.5515, allocations: 88.48 MB / 0.5881 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.5519, allocations: 75.91 kB / 0.5882 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.5705, allocations: 8.414 MB / 0.5964 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5706, allocations: 0 / 0.5964 GB, free: 8.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.646e-05/0.5706, allocations: 11.94 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.000636/0.5712, allocations: 0.5676 MB / 0.597 GB, free: 7.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5713, allocations: 8.031 kB / 0.597 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.5714, allocations: 43.44 kB / 0.597 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.5719, allocations: 339.2 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.572, allocations: 0 / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.572, allocations: 4 kB / 0.5973 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5721, allocations: 53.62 kB / 0.5974 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5722, allocations: 0 / 0.5974 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5722, allocations: 4 kB / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5722, allocations: 0 / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.5723, allocations: 20 kB / 0.5974 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.5729, allocations: 452.6 kB / 0.5979 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.5732, allocations: 42.58 kB / 0.5979 GB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.5732, allocations: 16.98 kB / 0.5979 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.5732, allocations: 0 / 0.5979 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5733, allocations: 42.55 kB / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 4.549e-06/0.5733, allocations: 96 / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006827/0.574, allocations: 303.5 kB / 0.5982 GB, free: 6.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.574, allocations: 51.41 kB / 0.5983 GB, free: 6.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5752, allocations: 0.7772 MB / 0.599 GB, free: 5.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5752, allocations: 29.7 kB / 0.5991 GB, free: 5.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.5754, allocations: 212.1 kB / 0.5993 GB, free: 5.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.5754, allocations: 35.45 kB / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.5754, allocations: 4 kB / 0.5993 GB, free: 5.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5756, allocations: 358.8 kB / 0.5997 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.5757, allocations: 24 kB / 0.5997 GB, free: 4.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.5757, allocations: 24 kB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.5758, allocations: 30.61 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5758, allocations: 7.938 kB / 0.5997 GB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001899/0.576, allocations: 137.1 kB / 0.5999 GB, free: 4.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.576, allocations: 4 kB / 0.5999 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.576, allocations: 3.984 kB / 0.5999 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.576, allocations: 7.953 kB / 0.5999 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.5762, allocations: 35.97 kB / 0.5999 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5762, allocations: 0 / 0.5999 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.5763, allocations: 15.94 kB / 0.5999 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5763, allocations: 4 kB / 0.5999 GB, free: 4.508 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 (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 8.088e-05/0.5764, allocations: 109 kB / 0.6 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.5765, allocations: 43.44 kB / 0.6001 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5768, allocations: 169.5 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5768, allocations: 4 kB / 0.6002 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5768, allocations: 3.953 kB / 0.6003 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5768, allocations: 4 kB / 0.6003 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.5778, allocations: 0.6599 MB / 0.6009 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5778, allocations: 3.984 kB / 0.6009 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.5779, allocations: 31.94 kB / 0.6009 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5779, allocations: 0 / 0.6009 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5779, allocations: 8.062 kB / 0.6009 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.578, allocations: 0 / 0.6009 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.578, allocations: 4 kB / 0.6009 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.5782, allocations: 276 kB / 0.6012 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.5785, allocations: 160.6 kB / 0.6014 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.5785, allocations: 8 kB / 0.6014 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5786, allocations: 11.98 kB / 0.6014 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.5787, allocations: 7.984 kB / 0.6014 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5787, allocations: 4.375 kB / 0.6014 GB, free: 2.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007162/0.5794, allocations: 0.6342 MB / 0.602 GB, free: 2.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5794, allocations: 0 / 0.602 GB, free: 2.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.5798, allocations: 71.94 kB / 0.6021 GB, free: 2.18 MB / 410.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 () * 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.001028/0.5808, allocations: 425 kB / 0.6025 GB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.581, allocations: 71.88 kB / 0.6026 GB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.581, allocations: 4 kB / 0.6026 GB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.5811, allocations: 43.92 kB / 0.6026 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.5814, allocations: 26.05 kB / 0.6026 GB, free: 1.734 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5825, allocations: 0.7522 MB / 0.6034 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.583, allocations: 0.8379 MB / 0.6042 GB, free: 92 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.91e-05/0.5831, allocations: 48.66 kB / 0.6042 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.5831, allocations: 27.42 kB / 0.6043 GB, free: 12 kB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5832, allocations: 0 / 0.6043 GB, free: 12 kB / 410.7 MB Notification: Performance of Templates: time 0.006586/0.5897, allocations: 2.76 MB / 0.6069 GB, free: 13.25 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches