Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002323/0.002323, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 95.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3157/0.3157, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.831e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3921, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.554, allocations: 85.63 MB / 0.5495 GB, free: 13.68 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5544, allocations: 67.97 kB / 0.5496 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.5709, allocations: 3.893 MB / 0.5534 GB, free: 9.723 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.571, allocations: 0 / 0.5534 GB, free: 9.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.571, allocations: 0 / 0.5534 GB, free: 9.723 MB / 395.1 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.0004828/0.5715, allocations: 378.2 kB / 0.5538 GB, free: 9.309 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5716, allocations: 12.03 kB / 0.5538 GB, free: 9.297 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.5716, allocations: 7.906 kB / 0.5538 GB, free: 9.289 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.5719, allocations: 209.6 kB / 0.554 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.572, allocations: 4 kB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.572, allocations: 0 / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.179e-05/0.5721, allocations: 12 kB / 0.554 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.5722, allocations: 41.69 kB / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5722, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.5722, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.5723, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.5727, allocations: 273.3 kB / 0.5543 GB, free: 8.68 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.5729, allocations: 42.5 kB / 0.5543 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.573, allocations: 12.86 kB / 0.5543 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.573, allocations: 0 / 0.5543 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5731, allocations: 30.56 kB / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.5731, allocations: 0 / 0.5544 GB, free: 8.574 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004795/0.5736, allocations: 105.4 kB / 0.5545 GB, free: 8.465 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5736, allocations: 51.41 kB / 0.5545 GB, free: 8.402 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.5739, allocations: 181.3 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.574, allocations: 25.7 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.5741, allocations: 162.5 kB / 0.5549 GB, free: 8.027 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.5741, allocations: 19.75 kB / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.5741, allocations: 0 / 0.5549 GB, free: 8.008 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5742, allocations: 318.8 kB / 0.5552 GB, free: 7.688 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.5743, allocations: 12 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.5743, allocations: 12 kB / 0.5552 GB, free: 7.664 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.5744, allocations: 4.156 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5744, allocations: 0 / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/0.5745, allocations: 57.62 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5746, allocations: 4 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5746, allocations: 4 kB / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5746, allocations: 144 / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5747, allocations: 15.98 kB / 0.5553 GB, free: 7.574 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5748, allocations: 4 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.5749, allocations: 4 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5749, allocations: 3.984 kB / 0.5553 GB, free: 7.562 MB / 395.1 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 (5): * Single equations (assignments): 5 * 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.337e-05/0.575, allocations: 108.9 kB / 0.5554 GB, free: 7.449 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.575, allocations: 15.81 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.5752, allocations: 70.02 kB / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5753, allocations: 0 / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5753, allocations: 0 / 0.5555 GB, free: 7.355 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5753, allocations: 8 kB / 0.5555 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.5758, allocations: 319.1 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5758, allocations: 0 / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.5759, allocations: 16.36 kB / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5759, allocations: 0 / 0.5558 GB, free: 6.977 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.576, allocations: 4 kB / 0.5558 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.576, allocations: 4 kB / 0.5558 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.576, allocations: 0 / 0.5558 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.5762, allocations: 167.3 kB / 0.556 GB, free: 6.789 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.5763, allocations: 93.02 kB / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.5763, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.5765, allocations: 7.984 kB / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5765, allocations: 7.938 kB / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5765, allocations: 0 / 0.5561 GB, free: 6.664 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.5767, allocations: 156 kB / 0.5562 GB, free: 6.512 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5767, allocations: 4 kB / 0.5562 GB, free: 6.508 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000363/0.5771, allocations: 24 kB / 0.5563 GB, free: 6.484 MB / 395.1 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 (5): * Single equations (assignments): 5 * 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.001034/0.5782, allocations: 332.5 kB / 0.5566 GB, free: 6.199 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5784, allocations: 27.94 kB / 0.5566 GB, free: 6.172 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.5784, allocations: 4 kB / 0.5566 GB, free: 6.168 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.5785, allocations: 16 kB / 0.5566 GB, free: 6.152 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.5788, allocations: 19.08 kB / 0.5567 GB, free: 6.137 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.5794, allocations: 197.7 kB / 0.5568 GB, free: 5.914 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5798, allocations: 0.7041 MB / 0.5575 GB, free: 5.184 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.5799, allocations: 11.44 kB / 0.5575 GB, free: 5.172 MB / 395.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5799, allocations: 0 / 0.5575 GB, free: 5.172 MB / 395.1 MB Notification: Performance of Templates: time 0.004838/0.5847, allocations: 1.54 MB / 0.559 GB, free: 3.637 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches