Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002166/0.002166, allocations: 186.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001087/0.001087, allocations: 96.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.513/0.513, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006289, allocations: 20 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1229, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6288, allocations: 86.38 MB / 0.5631 GB, free: 376 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.6292, allocations: 79.05 kB / 0.5632 GB, free: 300 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02629/0.6555, allocations: 3.975 MB / 0.567 GB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6556, allocations: 0 / 0.567 GB, free: 12.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.6556, allocations: 4 kB / 0.567 GB, free: 12.35 MB / 394.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.0009985/0.6566, allocations: 408.4 kB / 0.5674 GB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.6567, allocations: 12.02 kB / 0.5674 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.6568, allocations: 7.906 kB / 0.5675 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.6573, allocations: 214.9 kB / 0.5677 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6573, allocations: 4 kB / 0.5677 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.6574, allocations: 0 / 0.5677 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.6576, allocations: 54.48 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6577, allocations: 0 / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.6577, allocations: 4 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.6577, allocations: 7.984 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.658, allocations: 21.02 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.6587, allocations: 288.9 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.6591, allocations: 51.33 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.6591, allocations: 0 / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.6592, allocations: 34.56 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/0.6592, allocations: 4 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001231/0.6605, allocations: 165.2 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.6605, allocations: 55.41 kB / 0.5683 GB, free: 10.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.6611, allocations: 206.2 kB / 0.5685 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.6611, allocations: 25.7 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6613, allocations: 170.5 kB / 0.5687 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.6614, allocations: 19 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.6614, allocations: 3.938 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6616, allocations: 311.1 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6618, allocations: 27.98 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.662, allocations: 19.98 kB / 0.5691 GB, free: 10.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.6623, allocations: 23.98 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6623, allocations: 0 / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004974/0.6628, allocations: 85.61 kB / 0.5692 GB, free: 9.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.6629, allocations: 4 kB / 0.5692 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6629, allocations: 0 / 0.5692 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.6629, allocations: 0 / 0.5692 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.6631, allocations: 15.98 kB / 0.5692 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6632, allocations: 0 / 0.5692 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.6633, allocations: 15.98 kB / 0.5692 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.6634, allocations: 7.953 kB / 0.5692 GB, free: 9.938 MB / 394.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 (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 0.0002112/0.6636, allocations: 121.8 kB / 0.5693 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.6637, allocations: 7.906 kB / 0.5693 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006023/0.6643, allocations: 122.4 kB / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6644, allocations: 0 / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.6644, allocations: 4 kB / 0.5695 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.6644, allocations: 0 / 0.5695 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.6655, allocations: 374.5 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6656, allocations: 0 / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.6657, allocations: 20 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.6658, allocations: 3.984 kB / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.6658, allocations: 384 / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.6659, allocations: 4 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6659, allocations: 3.938 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.6665, allocations: 195.4 kB / 0.57 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.6666, allocations: 96.91 kB / 0.5701 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.6667, allocations: 0 / 0.5701 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.6669, allocations: 8 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.667, allocations: 7.984 kB / 0.5701 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.667, allocations: 0 / 0.5701 GB, free: 8.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000378/0.6674, allocations: 164.4 kB / 0.5703 GB, free: 8.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.6675, allocations: 4 kB / 0.5703 GB, free: 8.719 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006545/0.6681, allocations: 31.92 kB / 0.5703 GB, free: 8.688 MB / 394.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 (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.002005/0.6702, allocations: 405.2 kB / 0.5707 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.6708, allocations: 55.91 kB / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6708, allocations: 4 kB / 0.5708 GB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.671, allocations: 27.98 kB / 0.5708 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.6715, allocations: 14.23 kB / 0.5708 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6725, allocations: 292.2 kB / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.6731, allocations: 0.7121 MB / 0.5718 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.6732, allocations: 11.44 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6732, allocations: 0 / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of Templates: time 0.007212/0.6805, allocations: 1.595 MB / 0.5734 GB, free: 5.629 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches