Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 181.5 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.32/2.32, 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.001091/0.001091, allocations: 86.66 kB / 267.5 MB, free: 14.05 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.2798/0.2798, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.372e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.628, allocations: 87.38 MB / 0.5581 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.6283, allocations: 79.14 kB / 0.5582 GB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02599/0.6543, allocations: 4.409 MB / 0.5625 GB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6544, allocations: 0 / 0.5625 GB, free: 12.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.6544, allocations: 3.984 kB / 0.5625 GB, free: 12.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007667/0.6552, allocations: 389.2 kB / 0.5629 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.6553, allocations: 8.031 kB / 0.5629 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.6554, allocations: 11.86 kB / 0.5629 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.6558, allocations: 186.8 kB / 0.5631 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6559, allocations: 7.062 kB / 0.5631 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.6559, allocations: 4 kB / 0.5631 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.6562, allocations: 69.11 kB / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6562, allocations: 0 / 0.5632 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.6563, allocations: 4 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.6563, allocations: 7.938 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.6565, allocations: 27.03 kB / 0.5632 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.6574, allocations: 309.5 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.6576, allocations: 44.95 kB / 0.5635 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.6577, allocations: 23.75 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.6578, allocations: 0 / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.6578, allocations: 30.56 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.005e-06/0.6578, allocations: 0 / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001076/0.6589, allocations: 157.4 kB / 0.5637 GB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.6591, allocations: 85.09 kB / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.6594, allocations: 130 kB / 0.5639 GB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.6594, allocations: 25.7 kB / 0.564 GB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.6595, allocations: 168.2 kB / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.6596, allocations: 23.16 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6597, allocations: 0 / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6599, allocations: 314.8 kB / 0.5644 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.66, allocations: 18.88 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.6602, allocations: 39.95 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.6603, allocations: 31.27 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6603, allocations: 0 / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003674/0.6607, allocations: 81.25 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.6608, allocations: 7.938 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6608, allocations: 0 / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.6609, allocations: 3.953 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.6612, allocations: 28.02 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.6613, allocations: 3.984 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.6615, allocations: 12 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.6616, allocations: 3.125 kB / 0.5647 GB, free: 10.34 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 (7): * Single equations (assignments): 7 * 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.0001424/0.6617, allocations: 106.5 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.6618, allocations: 11.89 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.6623, allocations: 108.7 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.6624, allocations: 7.953 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6624, allocations: 0 / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6624, allocations: 3.984 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.6634, allocations: 371.2 kB / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6634, allocations: 3.938 kB / 0.5653 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.6638, allocations: 19.98 kB / 0.5653 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.6638, allocations: 3.953 kB / 0.5653 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.6638, allocations: 8 kB / 0.5653 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.6639, allocations: 3.984 kB / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6639, allocations: 0 / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.6643, allocations: 182.2 kB / 0.5655 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6645, allocations: 92.31 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.6645, allocations: 3.953 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.6648, allocations: 15.98 kB / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.6649, allocations: 15.17 kB / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.665, allocations: 8 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.6652, allocations: 107.4 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.6652, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006072/0.6658, allocations: 26.94 kB / 0.5657 GB, free: 9.262 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 (7): * Single equations (assignments): 7 * 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.001929/0.6678, allocations: 418.7 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.6682, allocations: 55.86 kB / 0.5662 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6683, allocations: 0 / 0.5662 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6684, allocations: 30.8 kB / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.6689, allocations: 13.81 kB / 0.5662 GB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.6696, allocations: 170.9 kB / 0.5664 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.6701, allocations: 0.7004 MB / 0.5671 GB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.6703, allocations: 18.94 kB / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6703, allocations: 0 / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of Templates: time 0.008739/0.6791, allocations: 1.858 MB / 0.5689 GB, free: 6.062 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches