Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 181.2 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.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001096/0.001095, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.272/0.272, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.525e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.6234, allocations: 86.25 MB / 0.557 GB, free: 1.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.6238, allocations: 73.56 kB / 0.5571 GB, free: 1.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01743/0.6413, allocations: 3.531 MB / 0.5605 GB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.177e-06/0.6413, allocations: 3.984 kB / 0.5605 GB, free: 14.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.6413, allocations: 4 kB / 0.5605 GB, free: 14.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004532/0.6418, allocations: 361.4 kB / 0.5609 GB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.6419, allocations: 12.03 kB / 0.5609 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.6419, allocations: 3.906 kB / 0.5609 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.6422, allocations: 198.8 kB / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6422, allocations: 0 / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.6423, allocations: 7.125 kB / 0.5611 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.6424, allocations: 40.88 kB / 0.5611 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6424, allocations: 0 / 0.5611 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6425, allocations: 0 / 0.5611 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6425, allocations: 7.938 kB / 0.5611 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.6425, allocations: 14.44 kB / 0.5612 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.643, allocations: 275.2 kB / 0.5614 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.6432, allocations: 34.52 kB / 0.5615 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.6433, allocations: 15.8 kB / 0.5615 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.6433, allocations: 7.984 kB / 0.5615 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6434, allocations: 38.64 kB / 0.5615 GB, free: 13.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.6434, allocations: 0 / 0.5615 GB, free: 13.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005066/0.6439, allocations: 99.73 kB / 0.5616 GB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6439, allocations: 55.36 kB / 0.5617 GB, free: 13.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.6441, allocations: 134.2 kB / 0.5618 GB, free: 12.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6442, allocations: 25.7 kB / 0.5618 GB, free: 12.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.6443, allocations: 161.7 kB / 0.562 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6443, allocations: 23.64 kB / 0.562 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.6443, allocations: 3.938 kB / 0.562 GB, free: 12.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6445, allocations: 310.8 kB / 0.5623 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.6445, allocations: 7.438 kB / 0.5623 GB, free: 12.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.6446, allocations: 11.81 kB / 0.5623 GB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.6446, allocations: 7.25 kB / 0.5623 GB, free: 12.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.6446, allocations: 0 / 0.5623 GB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.6448, allocations: 56.19 kB / 0.5624 GB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6448, allocations: 8 kB / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6448, allocations: 0 / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6449, allocations: 0 / 0.5624 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.645, allocations: 19.92 kB / 0.5624 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6451, allocations: 4 kB / 0.5624 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.6452, allocations: 16.02 kB / 0.5624 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6452, allocations: 3.984 kB / 0.5624 GB, free: 12.24 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 (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 9.196e-05/0.6453, allocations: 105 kB / 0.5625 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.6453, allocations: 11.91 kB / 0.5625 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.6456, allocations: 69.97 kB / 0.5626 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6456, allocations: 0 / 0.5626 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6456, allocations: 0 / 0.5626 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6456, allocations: 0 / 0.5626 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.6461, allocations: 335.3 kB / 0.5629 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6461, allocations: 0 / 0.5629 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.6463, allocations: 15.98 kB / 0.5629 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6463, allocations: 4 kB / 0.5629 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6463, allocations: 0 / 0.5629 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6463, allocations: 0 / 0.5629 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6463, allocations: 3.953 kB / 0.5629 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.6465, allocations: 160.3 kB / 0.5631 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.6466, allocations: 89 kB / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.6466, allocations: 0 / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6468, allocations: 14.5 kB / 0.5632 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.6468, allocations: 7.938 kB / 0.5632 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6468, allocations: 4 kB / 0.5632 GB, free: 11.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.647, allocations: 100.1 kB / 0.5633 GB, free: 11.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.647, allocations: 0 / 0.5633 GB, free: 11.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.6473, allocations: 30.86 kB / 0.5633 GB, free: 11.27 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 (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.001101/0.6484, allocations: 360.8 kB / 0.5637 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.6486, allocations: 36.69 kB / 0.5637 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6487, allocations: 0 / 0.5637 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.6487, allocations: 11 kB / 0.5637 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.6491, allocations: 21.17 kB / 0.5637 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.6495, allocations: 131.2 kB / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.6498, allocations: 0.6952 MB / 0.5645 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.6499, allocations: 19.38 kB / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.835e-06/0.6499, allocations: 0 / 0.5646 GB, free: 10.04 MB / 378.7 MB Notification: Performance of Templates: time 0.004551/0.6545, allocations: 1.384 MB / 0.5659 GB, free: 8.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches