Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 180.5 kB / 17.41 MB, free: 4.41 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.302/1.302, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0008262/0.0008264, allocations: 96.67 kB / 271.9 MB, free: 8.258 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.3025/0.3025, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09438, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.3526, allocations: 87.26 MB / 0.5651 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3528, allocations: 73.12 kB / 0.5652 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01064/0.3635, allocations: 4.363 MB / 0.5695 GB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3635, allocations: 0 / 0.5695 GB, free: 10.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3636, allocations: 3.828 kB / 0.5695 GB, free: 10.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003926/0.3639, allocations: 426.6 kB / 0.5699 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.364, allocations: 8.594 kB / 0.5699 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.364, allocations: 12.83 kB / 0.5699 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3642, allocations: 200.1 kB / 0.5701 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3643, allocations: 4.375 kB / 0.5701 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3643, allocations: 4.375 kB / 0.5701 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3644, allocations: 70.22 kB / 0.5702 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3645, allocations: 3.562 kB / 0.5702 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3645, allocations: 3.938 kB / 0.5702 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3645, allocations: 4 kB / 0.5702 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3646, allocations: 43.91 kB / 0.5702 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.365, allocations: 330.5 kB / 0.5705 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3652, allocations: 46.56 kB / 0.5706 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.3652, allocations: 36.88 kB / 0.5706 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3653, allocations: 0 / 0.5706 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3653, allocations: 38.61 kB / 0.5707 GB, free: 9.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3653, allocations: 3.938 kB / 0.5707 GB, free: 9.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007504/0.3661, allocations: 261.1 kB / 0.5709 GB, free: 9.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.3661, allocations: 59.34 kB / 0.571 GB, free: 9.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.3663, allocations: 189.3 kB / 0.5711 GB, free: 8.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3663, allocations: 29.7 kB / 0.5712 GB, free: 8.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.3663, allocations: 108 kB / 0.5713 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3664, allocations: 23.66 kB / 0.5713 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.3664, allocations: 0 / 0.5713 GB, free: 8.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.3665, allocations: 330.8 kB / 0.5716 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3666, allocations: 44.05 kB / 0.5717 GB, free: 8.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3667, allocations: 51.95 kB / 0.5717 GB, free: 8.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.367, allocations: 105 kB / 0.5718 GB, free: 8.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.367, allocations: 4 kB / 0.5718 GB, free: 8.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002779/0.3672, allocations: 137.5 kB / 0.5719 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3673, allocations: 8.625 kB / 0.5719 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3673, allocations: 4 kB / 0.572 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.3673, allocations: 0 / 0.572 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3674, allocations: 23.98 kB / 0.572 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3674, allocations: 0 / 0.572 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.3675, allocations: 11.98 kB / 0.572 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3675, allocations: 4 kB / 0.572 GB, free: 7.977 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 (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 8.886e-05/0.3676, allocations: 134.3 kB / 0.5721 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.3676, allocations: 11.91 kB / 0.5721 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.368, allocations: 154.3 kB / 0.5723 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.368, allocations: 4 kB / 0.5723 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.368, allocations: 0 / 0.5723 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.368, allocations: 0 / 0.5723 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.3685, allocations: 451.1 kB / 0.5727 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3685, allocations: 0.875 kB / 0.5727 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.3686, allocations: 23.92 kB / 0.5727 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3687, allocations: 4 kB / 0.5727 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3687, allocations: 4 kB / 0.5727 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3687, allocations: 3.938 kB / 0.5727 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3687, allocations: 7.938 kB / 0.5728 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.369, allocations: 239.4 kB / 0.573 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3691, allocations: 93.23 kB / 0.5731 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3691, allocations: 7.984 kB / 0.5731 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.3692, allocations: 8 kB / 0.5731 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3692, allocations: 11.92 kB / 0.5731 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3692, allocations: 3.984 kB / 0.5731 GB, free: 6.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3694, allocations: 152.8 kB / 0.5732 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3694, allocations: 0 / 0.5732 GB, free: 6.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.3696, allocations: 24 kB / 0.5733 GB, free: 6.562 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 (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.0007693/0.3704, allocations: 402.1 kB / 0.5737 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3707, allocations: 107.9 kB / 0.5738 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3707, allocations: 0 / 0.5738 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3708, allocations: 60.06 kB / 0.5738 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3711, allocations: 24.06 kB / 0.5738 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.3715, allocations: 301 kB / 0.5741 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3718, allocations: 0.7136 MB / 0.5748 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.3718, allocations: 15.44 kB / 0.5748 GB, free: 5 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3718, allocations: 0 / 0.5748 GB, free: 5 MB / 394.7 MB Notification: Performance of Templates: time 0.002937/0.3748, allocations: 1.771 MB / 0.5766 GB, free: 3.234 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches