Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 177.2 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.299/1.299, 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.0008828/0.0008827, allocations: 93.91 kB / 292.2 MB, free: 10.9 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.3459/0.3459, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4303, allocations: 91.06 MB / 0.5985 GB, free: 4.066 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4306, allocations: 75.91 kB / 0.5986 GB, free: 3.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02309/0.4537, allocations: 8.93 MB / 0.6073 GB, free: 11.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4538, allocations: 3.938 kB / 0.6073 GB, free: 11.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.4538, allocations: 19.92 kB / 0.6073 GB, free: 11.04 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007831/0.4546, allocations: 0.6274 MB / 0.6079 GB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4547, allocations: 12.03 kB / 0.6079 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.4548, allocations: 35.53 kB / 0.608 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.4553, allocations: 357.1 kB / 0.6083 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4553, allocations: 12 kB / 0.6083 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4554, allocations: 12 kB / 0.6083 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4556, allocations: 122.7 kB / 0.6084 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4557, allocations: 7.891 kB / 0.6084 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.4557, allocations: 8 kB / 0.6085 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4557, allocations: 0 / 0.6085 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.4559, allocations: 87.94 kB / 0.6085 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.4567, allocations: 0.5353 MB / 0.6091 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4569, allocations: 110.5 kB / 0.6092 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4569, allocations: 7.984 kB / 0.6092 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4569, allocations: 38.52 kB / 0.6092 GB, free: 8.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.4569, allocations: 0 / 0.6092 GB, free: 8.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001015/0.458, allocations: 445.7 kB / 0.6096 GB, free: 8.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.458, allocations: 55.41 kB / 0.6097 GB, free: 8.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.4586, allocations: 0.493 MB / 0.6102 GB, free: 7.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.4586, allocations: 37.64 kB / 0.6102 GB, free: 7.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.4588, allocations: 200.4 kB / 0.6104 GB, free: 7.664 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.4589, allocations: 59.16 kB / 0.6104 GB, free: 7.605 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.4589, allocations: 4 kB / 0.6105 GB, free: 7.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.459, allocations: 354.8 kB / 0.6108 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4592, allocations: 67.95 kB / 0.6109 GB, free: 7.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4593, allocations: 67.95 kB / 0.6109 GB, free: 7.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.4594, allocations: 85.62 kB / 0.611 GB, free: 7.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4595, allocations: 0 / 0.611 GB, free: 7.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003695/0.4598, allocations: 237 kB / 0.6112 GB, free: 6.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4599, allocations: 5.406 kB / 0.6112 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4599, allocations: 0 / 0.6112 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4599, allocations: 4 kB / 0.6112 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4601, allocations: 43.92 kB / 0.6113 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4601, allocations: 0 / 0.6113 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.4602, allocations: 15.92 kB / 0.6113 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4602, allocations: 4 kB / 0.6113 GB, free: 6.723 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 (17): * Single equations (assignments): 17 * 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.0001866/0.4604, allocations: 178.3 kB / 0.6115 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.4605, allocations: 47.39 kB / 0.6115 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.461, allocations: 281.4 kB / 0.6118 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.461, allocations: 7.984 kB / 0.6118 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.461, allocations: 3.984 kB / 0.6118 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.461, allocations: 0 / 0.6118 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.462, allocations: 0.7384 MB / 0.6125 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.462, allocations: 4 kB / 0.6125 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4621, allocations: 31.98 kB / 0.6125 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4622, allocations: 0 / 0.6125 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4622, allocations: 11.98 kB / 0.6126 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.4622, allocations: 4 kB / 0.6126 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4622, allocations: 3.938 kB / 0.6126 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.4626, allocations: 338.8 kB / 0.6129 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.4628, allocations: 140.6 kB / 0.613 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.4628, allocations: 11.98 kB / 0.613 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4629, allocations: 8 kB / 0.613 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.463, allocations: 11.98 kB / 0.6131 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.463, allocations: 4 kB / 0.6131 GB, free: 4.809 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.4634, allocations: 407.1 kB / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4634, allocations: 0 / 0.6134 GB, free: 4.414 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000324/0.4637, allocations: 71.92 kB / 0.6135 GB, free: 4.344 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 (17): * Single equations (assignments): 17 * 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.001462/0.4652, allocations: 0.7176 MB / 0.6142 GB, free: 3.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.4655, allocations: 171.8 kB / 0.6144 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4656, allocations: 0 / 0.6144 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4657, allocations: 95.89 kB / 0.6145 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4661, allocations: 71.41 kB / 0.6145 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4672, allocations: 0.7753 MB / 0.6153 GB, free: 2.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4675, allocations: 0.8262 MB / 0.6161 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4677, allocations: 65.84 kB / 0.6162 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.4678, allocations: 35.41 kB / 0.6162 GB, free: 1.855 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4678, allocations: 0 / 0.6162 GB, free: 1.855 MB / 426.7 MB Notification: Performance of Templates: time 0.006981/0.4748, allocations: 3.639 MB / 0.6198 GB, free: 14.23 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches