Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001513, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2754/0.2754, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.025e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5758, allocations: 88.32 MB / 0.559 GB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5761, allocations: 74.59 kB / 0.5591 GB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03496/0.6111, allocations: 8.249 MB / 0.5672 GB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6111, allocations: 4 kB / 0.5672 GB, free: 8.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.842e-05/0.6112, allocations: 8 kB / 0.5672 GB, free: 8.258 MB / 378.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.0007918/0.612, allocations: 0.53 MB / 0.5677 GB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6121, allocations: 8.031 kB / 0.5677 GB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6122, allocations: 39.58 kB / 0.5677 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007795/0.613, allocations: 333.6 kB / 0.5681 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.613, allocations: 3.125 kB / 0.5681 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.6131, allocations: 7.984 kB / 0.5681 GB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.6133, allocations: 68.5 kB / 0.5681 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6133, allocations: 0 / 0.5681 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6134, allocations: 7.75 kB / 0.5681 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.6134, allocations: 4 kB / 0.5682 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.6135, allocations: 45.33 kB / 0.5682 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.6145, allocations: 454.3 kB / 0.5686 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.6147, allocations: 59.14 kB / 0.5687 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.6148, allocations: 27.36 kB / 0.5687 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.6148, allocations: 0 / 0.5687 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.6149, allocations: 30.56 kB / 0.5687 GB, free: 6.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.6149, allocations: 0 / 0.5687 GB, free: 6.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.000333/0.6152, allocations: 96.12 kB / 0.5688 GB, free: 6.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.6153, allocations: 55.34 kB / 0.5689 GB, free: 6.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.6163, allocations: 490.5 kB / 0.5694 GB, free: 6.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.6164, allocations: 29.39 kB / 0.5694 GB, free: 6.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.6166, allocations: 237.7 kB / 0.5696 GB, free: 5.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.6166, allocations: 10.56 kB / 0.5696 GB, free: 5.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.6166, allocations: 4 kB / 0.5696 GB, free: 5.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6168, allocations: 313.7 kB / 0.5699 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.6168, allocations: 15.31 kB / 0.5699 GB, free: 5.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.6169, allocations: 19.23 kB / 0.57 GB, free: 5.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.617, allocations: 15.31 kB / 0.57 GB, free: 5.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.617, allocations: 0 / 0.57 GB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002051/0.6172, allocations: 72.36 kB / 0.57 GB, free: 5.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6172, allocations: 12 kB / 0.57 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.6173, allocations: 0 / 0.57 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6173, allocations: 0 / 0.57 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.6175, allocations: 19.92 kB / 0.5701 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6175, allocations: 0 / 0.5701 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.6177, allocations: 11.44 kB / 0.5701 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.6177, allocations: 4 kB / 0.5701 GB, free: 5.434 MB / 378.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 () * 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 8.149e-05/0.6178, allocations: 101 kB / 0.5702 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6179, allocations: 39.48 kB / 0.5702 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.6183, allocations: 129.9 kB / 0.5703 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6183, allocations: 0 / 0.5703 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6183, allocations: 0 / 0.5703 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6184, allocations: 0 / 0.5703 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.6189, allocations: 301 kB / 0.5706 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6189, allocations: 0 / 0.5706 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.6191, allocations: 12 kB / 0.5706 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.6191, allocations: 0 / 0.5706 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6191, allocations: 7.938 kB / 0.5706 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6191, allocations: 4 kB / 0.5706 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6191, allocations: 4 kB / 0.5707 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.6195, allocations: 189.2 kB / 0.5708 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.6197, allocations: 142.4 kB / 0.571 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.6198, allocations: 0 / 0.571 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.62, allocations: 14.64 kB / 0.571 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6201, allocations: 0 / 0.571 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6201, allocations: 11.98 kB / 0.571 GB, free: 4.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007932/0.6209, allocations: 393.8 kB / 0.5714 GB, free: 4.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.945e-06/0.6209, allocations: 4 kB / 0.5714 GB, free: 4.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007008/0.6216, allocations: 55.36 kB / 0.5714 GB, free: 4.145 MB / 378.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 () * 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.001643/0.6233, allocations: 0.5277 MB / 0.5719 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.6235, allocations: 35.12 kB / 0.572 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6236, allocations: 7.875 kB / 0.572 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.6236, allocations: 23.75 kB / 0.572 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.6243, allocations: 71.67 kB / 0.5721 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.6255, allocations: 488.9 kB / 0.5725 GB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.626, allocations: 0.7933 MB / 0.5733 GB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.6262, allocations: 31.42 kB / 0.5733 GB, free: 2.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6263, allocations: 4 kB / 0.5733 GB, free: 2.273 MB / 378.7 MB Notification: Performance of Templates: time 0.01067/0.6369, allocations: 3.949 MB / 0.5772 GB, free: 14.34 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches