Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 176.4 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007714/0.0007714, allocations: 81.44 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.000404, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/0.469, allocations: 86.91 MB / 0.5648 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4692, allocations: 71.97 kB / 0.5649 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.4854, allocations: 7.709 MB / 0.5724 GB, free: 7.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4855, allocations: 0 / 0.5724 GB, free: 7.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.4855, allocations: 4 kB / 0.5724 GB, free: 7.352 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.0008458/0.4864, allocations: 0.6332 MB / 0.573 GB, free: 6.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4864, allocations: 9.062 kB / 0.573 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.821e-05/0.4865, allocations: 44.38 kB / 0.5731 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.487, allocations: 348.1 kB / 0.5734 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4871, allocations: 8.375 kB / 0.5734 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4871, allocations: 384 / 0.5734 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4872, allocations: 58.19 kB / 0.5735 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4872, allocations: 192 / 0.5735 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4873, allocations: 7.922 kB / 0.5735 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4873, allocations: 3.984 kB / 0.5735 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.4874, allocations: 27.98 kB / 0.5735 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.488, allocations: 440.7 kB / 0.5739 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.4882, allocations: 49.41 kB / 0.574 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.4882, allocations: 12.86 kB / 0.574 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.4883, allocations: 4 kB / 0.574 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4883, allocations: 38.64 kB / 0.574 GB, free: 5.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4883, allocations: 0 / 0.574 GB, free: 5.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005813/0.4889, allocations: 243.9 kB / 0.5743 GB, free: 5.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.4889, allocations: 51.62 kB / 0.5743 GB, free: 5.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4901, allocations: 0.8495 MB / 0.5752 GB, free: 4.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4901, allocations: 25.7 kB / 0.5752 GB, free: 4.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.4903, allocations: 216.1 kB / 0.5754 GB, free: 4.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.4903, allocations: 15.81 kB / 0.5754 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4903, allocations: 0 / 0.5754 GB, free: 4.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4905, allocations: 370.7 kB / 0.5758 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.4906, allocations: 23.98 kB / 0.5758 GB, free: 3.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.4906, allocations: 19.98 kB / 0.5758 GB, free: 3.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4908, allocations: 60.77 kB / 0.5759 GB, free: 3.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4908, allocations: 0 / 0.5759 GB, free: 3.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002217/0.491, allocations: 121.1 kB / 0.576 GB, free: 3.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.491, allocations: 4 kB / 0.576 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.491, allocations: 0 / 0.576 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4911, allocations: 7.938 kB / 0.576 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.4911, allocations: 19.98 kB / 0.576 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4911, allocations: 0.625 kB / 0.576 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.4912, allocations: 12.44 kB / 0.576 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4912, allocations: 0 / 0.576 GB, free: 3.457 MB / 394.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 (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 0.0001902/0.4914, allocations: 225.7 kB / 0.5762 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.4915, allocations: 39.53 kB / 0.5763 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4918, allocations: 149.1 kB / 0.5764 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4918, allocations: 64 / 0.5764 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4918, allocations: 4 kB / 0.5764 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4918, allocations: 7.984 kB / 0.5764 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.4925, allocations: 0.5891 MB / 0.577 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4925, allocations: 4 kB / 0.577 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.4926, allocations: 8 kB / 0.577 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4926, allocations: 4 kB / 0.577 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4926, allocations: 3.984 kB / 0.577 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4926, allocations: 4 kB / 0.577 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4926, allocations: 3.938 kB / 0.577 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4929, allocations: 211.1 kB / 0.5772 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.493, allocations: 164.5 kB / 0.5774 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.4931, allocations: 0 / 0.5774 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.4932, allocations: 15.98 kB / 0.5774 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.4932, allocations: 11.81 kB / 0.5774 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4932, allocations: 4 kB / 0.5774 GB, free: 1.918 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006231/0.4939, allocations: 0.6393 MB / 0.578 GB, free: 1.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4939, allocations: 0 / 0.578 GB, free: 1.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.4942, allocations: 56 kB / 0.5781 GB, free: 1.227 MB / 394.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 () * Number of clocked 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.000813/0.495, allocations: 413.5 kB / 0.5785 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.4952, allocations: 51.97 kB / 0.5785 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4952, allocations: 0 / 0.5785 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.4953, allocations: 27.92 kB / 0.5786 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.4956, allocations: 33.94 kB / 0.5786 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4968, allocations: 0.9037 MB / 0.5795 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4972, allocations: 0.8262 MB / 0.5803 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.929e-05/0.4973, allocations: 36.25 kB / 0.5803 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.4974, allocations: 19.44 kB / 0.5803 GB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4974, allocations: 0 / 0.5803 GB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.006059/0.5035, allocations: 2.425 MB / 0.5827 GB, free: 12.53 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches