Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, 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.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009365/0.0009366, allocations: 95.08 kB / 292.2 MB, free: 10.93 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.3247/0.3247, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002939, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3027, allocations: 61.89 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4145, allocations: 90.89 MB / 0.5983 GB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4149, allocations: 71.94 kB / 0.5984 GB, free: 4.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.4372, allocations: 8.841 MB / 0.607 GB, free: 11.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4373, allocations: 0 / 0.607 GB, free: 11.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.4373, allocations: 8 kB / 0.607 GB, free: 11.33 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000818/0.4381, allocations: 0.6067 MB / 0.6076 GB, free: 10.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4382, allocations: 8.031 kB / 0.6076 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.4383, allocations: 35.53 kB / 0.6077 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.4389, allocations: 357.1 kB / 0.608 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4389, allocations: 4 kB / 0.608 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.4389, allocations: 4 kB / 0.608 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.4391, allocations: 91.62 kB / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4392, allocations: 0 / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4392, allocations: 0 / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4392, allocations: 4 kB / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.4394, allocations: 71.89 kB / 0.6082 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.4401, allocations: 0.4886 MB / 0.6086 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4402, allocations: 74.55 kB / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4403, allocations: 0 / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4403, allocations: 38.5 kB / 0.6087 GB, free: 9.398 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4403, allocations: 4 kB / 0.6088 GB, free: 9.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003769/0.4407, allocations: 153.3 kB / 0.6089 GB, free: 9.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4408, allocations: 51.41 kB / 0.6089 GB, free: 9.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.4414, allocations: 0.4971 MB / 0.6094 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.4414, allocations: 29.7 kB / 0.6095 GB, free: 8.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4416, allocations: 200.2 kB / 0.6097 GB, free: 8.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.4416, allocations: 15.66 kB / 0.6097 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4416, allocations: 4 kB / 0.6097 GB, free: 8.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4417, allocations: 346.8 kB / 0.61 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.4418, allocations: 27.98 kB / 0.61 GB, free: 8.031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.4419, allocations: 31.97 kB / 0.6101 GB, free: 8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.442, allocations: 35.98 kB / 0.6101 GB, free: 7.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.442, allocations: 3.938 kB / 0.6101 GB, free: 7.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002226/0.4422, allocations: 125.3 kB / 0.6102 GB, free: 7.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4422, allocations: 9.344 kB / 0.6102 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4422, allocations: 0 / 0.6102 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4423, allocations: 0 / 0.6102 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.4424, allocations: 15.98 kB / 0.6102 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4424, allocations: 11.89 kB / 0.6103 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.4425, allocations: 15.91 kB / 0.6103 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4425, allocations: 0 / 0.6103 GB, free: 7.781 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 (6): * Single equations (assignments): 6 * 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.0001637/0.4427, allocations: 166.3 kB / 0.6104 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4427, allocations: 39.53 kB / 0.6105 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.443, allocations: 156.8 kB / 0.6106 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4431, allocations: 4 kB / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4431, allocations: 0 / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4431, allocations: 3.953 kB / 0.6106 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.4435, allocations: 301.5 kB / 0.6109 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4435, allocations: 4.5 kB / 0.6109 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.4435, allocations: 8 kB / 0.6109 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4435, allocations: 3.984 kB / 0.6109 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4436, allocations: 8 kB / 0.6109 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4436, allocations: 0 / 0.6109 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4436, allocations: 0 / 0.6109 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.4439, allocations: 234.9 kB / 0.6112 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.4441, allocations: 144.6 kB / 0.6113 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.4441, allocations: 3.984 kB / 0.6113 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.4442, allocations: 4 kB / 0.6113 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.4442, allocations: 4 kB / 0.6113 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4443, allocations: 4 kB / 0.6113 GB, free: 6.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004538/0.4447, allocations: 407.1 kB / 0.6117 GB, free: 6.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4447, allocations: 0 / 0.6117 GB, free: 6.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.4451, allocations: 47.94 kB / 0.6117 GB, free: 6.176 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 (6): * Single equations (assignments): 6 * 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.001336/0.4464, allocations: 0.6053 MB / 0.6123 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4466, allocations: 71.91 kB / 0.6124 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4466, allocations: 0 / 0.6124 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.4467, allocations: 35.97 kB / 0.6124 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.4472, allocations: 62.56 kB / 0.6125 GB, free: 5.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4482, allocations: 0.6688 MB / 0.6132 GB, free: 4.961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.4487, allocations: 0.8141 MB / 0.6139 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.4489, allocations: 65.41 kB / 0.614 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.449, allocations: 31.42 kB / 0.614 GB, free: 4.027 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.449, allocations: 0 / 0.614 GB, free: 4.027 MB / 426.7 MB Notification: Performance of Templates: time 0.006344/0.4553, allocations: 3.085 MB / 0.6171 GB, free: 0.9648 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches