Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.29/1.29, allocations: 223.2 MB / 241 MB, free: 10.16 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.0008627/0.0008627, allocations: 98.16 kB / 292.2 MB, free: 10.73 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.3093/0.3093, allocations: 44.22 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3206, allocations: 61.91 MB / 0.5096 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4367, allocations: 91.21 MB / 0.5986 GB, free: 3.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.437, allocations: 79.91 kB / 0.5987 GB, free: 3.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.4606, allocations: 9.735 MB / 0.6082 GB, free: 10.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4607, allocations: 0 / 0.6082 GB, free: 10.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.4607, allocations: 8 kB / 0.6082 GB, free: 10.13 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.0007338/0.4614, allocations: 0.6471 MB / 0.6089 GB, free: 9.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.4615, allocations: 8.031 kB / 0.6089 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.4616, allocations: 39.53 kB / 0.6089 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.4621, allocations: 357.1 kB / 0.6092 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4621, allocations: 8 kB / 0.6092 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.4622, allocations: 11.91 kB / 0.6093 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.4624, allocations: 122.7 kB / 0.6094 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4624, allocations: 4 kB / 0.6094 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4624, allocations: 4 kB / 0.6094 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4624, allocations: 4 kB / 0.6094 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.4626, allocations: 87.94 kB / 0.6095 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.4634, allocations: 0.5353 MB / 0.61 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.4636, allocations: 118.5 kB / 0.6101 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.4636, allocations: 0 / 0.6101 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4636, allocations: 42.52 kB / 0.6101 GB, free: 7.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.4636, allocations: 0 / 0.6101 GB, free: 7.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009404/0.4646, allocations: 452.4 kB / 0.6106 GB, free: 7.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4646, allocations: 51.41 kB / 0.6106 GB, free: 7.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.4652, allocations: 0.4931 MB / 0.6111 GB, free: 6.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4653, allocations: 29.7 kB / 0.6111 GB, free: 6.938 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.4654, allocations: 200.4 kB / 0.6113 GB, free: 6.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.4655, allocations: 59.11 kB / 0.6114 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4655, allocations: 4 kB / 0.6114 GB, free: 6.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4656, allocations: 358.8 kB / 0.6117 GB, free: 6.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.4657, allocations: 67.95 kB / 0.6118 GB, free: 6.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4659, allocations: 69.31 kB / 0.6119 GB, free: 6.184 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.466, allocations: 81.69 kB / 0.6119 GB, free: 6.105 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.466, allocations: 0 / 0.6119 GB, free: 6.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003645/0.4664, allocations: 233 kB / 0.6122 GB, free: 5.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4664, allocations: 8 kB / 0.6122 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.4664, allocations: 0 / 0.6122 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4664, allocations: 4 kB / 0.6122 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4666, allocations: 43.91 kB / 0.6122 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4666, allocations: 0 / 0.6122 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.4667, allocations: 8 kB / 0.6122 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4667, allocations: 11.94 kB / 0.6122 GB, free: 5.797 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.0001722/0.4669, allocations: 174.3 kB / 0.6124 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.467, allocations: 47.39 kB / 0.6124 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.4675, allocations: 291 kB / 0.6127 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4675, allocations: 0 / 0.6127 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4675, allocations: 0 / 0.6127 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4676, allocations: 4 kB / 0.6127 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.4685, allocations: 0.744 MB / 0.6135 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4686, allocations: 0 / 0.6135 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.4687, allocations: 39.98 kB / 0.6135 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4687, allocations: 0 / 0.6135 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4687, allocations: 4 kB / 0.6135 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4687, allocations: 0 / 0.6135 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4687, allocations: 0 / 0.6135 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.4691, allocations: 349.9 kB / 0.6138 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4693, allocations: 140.6 kB / 0.614 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.4693, allocations: 12 kB / 0.614 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4695, allocations: 7.984 kB / 0.614 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4695, allocations: 15.98 kB / 0.614 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4695, allocations: 4 kB / 0.614 GB, free: 3.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004202/0.4699, allocations: 403.1 kB / 0.6144 GB, free: 3.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.47, allocations: 0 / 0.6144 GB, free: 3.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.4703, allocations: 75.88 kB / 0.6145 GB, free: 3.418 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.001655/0.472, allocations: 0.7059 MB / 0.6151 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.4724, allocations: 178.7 kB / 0.6153 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4724, allocations: 4 kB / 0.6153 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.4725, allocations: 91.89 kB / 0.6154 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.473, allocations: 66.33 kB / 0.6155 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4742, allocations: 0.7753 MB / 0.6162 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.4747, allocations: 0.834 MB / 0.617 GB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.4748, allocations: 65.89 kB / 0.6171 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.4749, allocations: 35.42 kB / 0.6171 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4749, allocations: 4 kB / 0.6171 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of Templates: time 0.006948/0.4819, allocations: 3.636 MB / 0.6207 GB, free: 13.31 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches