Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 177 kB / 17.06 MB, free: 5.094 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.209/1.209, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007822/0.0007823, allocations: 107.8 kB / 292.2 MB, free: 10.91 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.3303/0.3303, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 12 kB / 459.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3363, allocations: 61.89 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4574, allocations: 88.81 MB / 0.5963 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4577, allocations: 75.92 kB / 0.5964 GB, free: 6.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.4747, allocations: 8.012 MB / 0.6042 GB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4747, allocations: 4 kB / 0.6042 GB, free: 14.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4748, allocations: 4 kB / 0.6042 GB, free: 14.25 MB / 426.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.0008017/0.4756, allocations: 0.6257 MB / 0.6048 GB, free: 13.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4756, allocations: 12.03 kB / 0.6048 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.4757, allocations: 39.44 kB / 0.6048 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.4762, allocations: 327.4 kB / 0.6052 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4762, allocations: 0 / 0.6052 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4763, allocations: 4 kB / 0.6052 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4764, allocations: 57.67 kB / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4764, allocations: 0 / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4765, allocations: 0 / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.4765, allocations: 3.938 kB / 0.6052 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.4766, allocations: 31.92 kB / 0.6053 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.4773, allocations: 444.7 kB / 0.6057 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.4774, allocations: 34.56 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4775, allocations: 0 / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.4775, allocations: 34.5 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4775, allocations: 4.062 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003069/0.4778, allocations: 113.1 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4779, allocations: 51.41 kB / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.479, allocations: 0.7862 MB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4791, allocations: 25.7 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.4793, allocations: 224 kB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.4793, allocations: 7.984 kB / 0.6069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.4793, allocations: 4.125 kB / 0.6069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4795, allocations: 362.8 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.4795, allocations: 11.98 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.4796, allocations: 12 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.4796, allocations: 11.98 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4796, allocations: 64 / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001748/0.4798, allocations: 105.1 kB / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4799, allocations: 4 kB / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4799, allocations: 0 / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4799, allocations: 0 / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.48, allocations: 7.984 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.48, allocations: 4 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.48, allocations: 4 kB / 0.6074 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4801, allocations: 4.031 kB / 0.6074 GB, free: 10.72 MB / 426.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 (2): * Single equations (assignments): 2 * 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.0002141/0.4803, allocations: 218.2 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.4804, allocations: 39.44 kB / 0.6077 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.4806, allocations: 120.2 kB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4806, allocations: 4 kB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4807, allocations: 0 / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4807, allocations: 4.031 kB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.481, allocations: 321.4 kB / 0.6081 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.481, allocations: 4 kB / 0.6081 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.4811, allocations: 7.984 kB / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4811, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4811, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4811, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4811, allocations: 0 / 0.6081 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4814, allocations: 202.9 kB / 0.6083 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4816, allocations: 160.5 kB / 0.6085 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.4817, allocations: 3.938 kB / 0.6085 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.4818, allocations: 7.938 kB / 0.6085 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4818, allocations: 4 kB / 0.6085 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4818, allocations: 0 / 0.6085 GB, free: 9.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007153/0.4825, allocations: 0.6511 MB / 0.6091 GB, free: 8.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 0 / 0.6091 GB, free: 8.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.4828, allocations: 51.94 kB / 0.6092 GB, free: 8.844 MB / 426.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 (2): * Single equations (assignments): 2 * 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.000858/0.4837, allocations: 352.4 kB / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4839, allocations: 27.98 kB / 0.6095 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4839, allocations: 0 / 0.6095 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.4839, allocations: 16 kB / 0.6095 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4842, allocations: 24.12 kB / 0.6096 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4856, allocations: 0.8997 MB / 0.6104 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4861, allocations: 0.8301 MB / 0.6112 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.469e-05/0.4862, allocations: 40.41 kB / 0.6113 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.4862, allocations: 19.44 kB / 0.6113 GB, free: 6.711 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4862, allocations: 0 / 0.6113 GB, free: 6.711 MB / 426.7 MB Notification: Performance of Templates: time 0.00584/0.4921, allocations: 2.255 MB / 0.6135 GB, free: 4.453 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches