Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.231/1.231, 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.0008341/0.0008342, allocations: 91.3 kB / 292.1 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.3613/0.3613, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4275, allocations: 88.8 MB / 0.5963 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4278, allocations: 79.94 kB / 0.5964 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.4448, allocations: 8.02 MB / 0.6042 GB, free: 14.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4448, allocations: 0 / 0.6042 GB, free: 14.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.4449, allocations: 4 kB / 0.6042 GB, free: 14.21 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.0007417/0.4456, allocations: 0.6219 MB / 0.6048 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4457, allocations: 11.97 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.4458, allocations: 43.44 kB / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.4463, allocations: 327.4 kB / 0.6052 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4463, allocations: 4 kB / 0.6052 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4463, allocations: 3.938 kB / 0.6052 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.4465, allocations: 45.69 kB / 0.6052 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4465, allocations: 8 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4465, allocations: 0 / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4466, allocations: 3.984 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.4467, allocations: 27.98 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.4473, allocations: 444.6 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.4474, allocations: 38.56 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4475, allocations: 0 / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.4475, allocations: 34.56 kB / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4475, allocations: 0 / 0.6057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002814/0.4478, allocations: 113.2 kB / 0.6059 GB, free: 12.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4478, allocations: 51.41 kB / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.449, allocations: 0.794 MB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.449, allocations: 25.7 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4492, allocations: 220 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.4492, allocations: 4 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.4492, allocations: 0 / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4494, allocations: 370.9 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.4494, allocations: 12 kB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.4494, allocations: 11.98 kB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.4495, allocations: 12 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4495, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001593/0.4497, allocations: 105.1 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4497, allocations: 4 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4497, allocations: 4 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4497, allocations: 0 / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.4498, allocations: 4 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4498, allocations: 0 / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.4499, allocations: 7.984 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4499, allocations: 0 / 0.6074 GB, free: 10.68 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.0001759/0.4501, allocations: 214.3 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.4502, allocations: 43.44 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.4504, allocations: 124.2 kB / 0.6078 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4504, allocations: 0 / 0.6078 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4504, allocations: 4 kB / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4504, allocations: 0 / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.4507, allocations: 329.4 kB / 0.6081 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4508, allocations: 4.031 kB / 0.6081 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.4508, allocations: 4 kB / 0.6081 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4508, allocations: 0 / 0.6081 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4508, allocations: 7.984 kB / 0.6081 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4508, allocations: 7.875 kB / 0.6081 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4508, allocations: 0 / 0.6081 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.451, allocations: 194.9 kB / 0.6083 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.4513, allocations: 160.6 kB / 0.6085 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.4514, allocations: 0 / 0.6085 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.4514, allocations: 7.984 kB / 0.6085 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.4515, allocations: 0 / 0.6085 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4515, allocations: 0 / 0.6085 GB, free: 9.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006545/0.4521, allocations: 0.6432 MB / 0.6091 GB, free: 8.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4522, allocations: 0 / 0.6091 GB, free: 8.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.4525, allocations: 63.92 kB / 0.6092 GB, free: 8.793 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.0008729/0.4534, allocations: 342.8 kB / 0.6095 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4535, allocations: 31.98 kB / 0.6095 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4535, allocations: 0 / 0.6095 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.4536, allocations: 11.98 kB / 0.6095 GB, free: 8.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.4539, allocations: 34.23 kB / 0.6096 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4551, allocations: 0.8958 MB / 0.6104 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4555, allocations: 0.8301 MB / 0.6112 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.4556, allocations: 40.42 kB / 0.6113 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.4557, allocations: 19.44 kB / 0.6113 GB, free: 6.664 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4557, allocations: 0 / 0.6113 GB, free: 6.664 MB / 426.7 MB Notification: Performance of Templates: time 0.005885/0.4616, allocations: 2.266 MB / 0.6135 GB, free: 4.398 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches