Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 177.7 kB / 17.41 MB, free: 4.414 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.291/1.291, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007377/0.0007378, allocations: 85.42 kB / 271.9 MB, free: 8.266 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.2992/0.2992, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003888, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09901, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.3655, allocations: 87.51 MB / 0.5654 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3658, allocations: 79.95 kB / 0.5655 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.3764, allocations: 4.599 MB / 0.57 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3765, allocations: 0 / 0.57 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3765, allocations: 4 kB / 0.57 GB, free: 10.24 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.0003965/0.3769, allocations: 394.8 kB / 0.5703 GB, free: 9.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3769, allocations: 8.031 kB / 0.5703 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.377, allocations: 17.72 kB / 0.5704 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3772, allocations: 202.8 kB / 0.5706 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3772, allocations: 384 / 0.5706 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.3773, allocations: 12.3 kB / 0.5706 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3774, allocations: 83.94 kB / 0.5706 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3775, allocations: 192 / 0.5706 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3775, allocations: 3.938 kB / 0.5707 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3775, allocations: 4 kB / 0.5707 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3776, allocations: 44.53 kB / 0.5707 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3781, allocations: 320.6 kB / 0.571 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3782, allocations: 46.56 kB / 0.571 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3783, allocations: 32.94 kB / 0.5711 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3783, allocations: 8 kB / 0.5711 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3784, allocations: 30.88 kB / 0.5711 GB, free: 8.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3784, allocations: 1.688 kB / 0.5711 GB, free: 8.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007474/0.3791, allocations: 265.2 kB / 0.5714 GB, free: 8.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3792, allocations: 77.11 kB / 0.5714 GB, free: 8.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.3793, allocations: 145.8 kB / 0.5716 GB, free: 8.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3793, allocations: 29.7 kB / 0.5716 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3794, allocations: 92.14 kB / 0.5717 GB, free: 8.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3794, allocations: 23.64 kB / 0.5717 GB, free: 8.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3794, allocations: 4 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3795, allocations: 318.8 kB / 0.572 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3797, allocations: 47.97 kB / 0.5721 GB, free: 7.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3798, allocations: 57.69 kB / 0.5721 GB, free: 7.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.38, allocations: 104.8 kB / 0.5722 GB, free: 7.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.38, allocations: 0 / 0.5722 GB, free: 7.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002875/0.3803, allocations: 146.3 kB / 0.5724 GB, free: 7.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3804, allocations: 4 kB / 0.5724 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3804, allocations: 3.938 kB / 0.5724 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3804, allocations: 4 kB / 0.5724 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3805, allocations: 23.98 kB / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3805, allocations: 2.438 kB / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.3806, allocations: 15.98 kB / 0.5724 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3806, allocations: 4 kB / 0.5724 GB, free: 7.488 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 9.172e-05/0.3807, allocations: 126.3 kB / 0.5725 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.3807, allocations: 7.906 kB / 0.5726 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.3811, allocations: 166.5 kB / 0.5727 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3811, allocations: 0 / 0.5727 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3811, allocations: 3.938 kB / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3811, allocations: 0 / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.3817, allocations: 426.4 kB / 0.5731 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3817, allocations: 0 / 0.5731 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.3818, allocations: 23.97 kB / 0.5731 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3818, allocations: 4 kB / 0.5732 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3818, allocations: 7.938 kB / 0.5732 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3818, allocations: 3.938 kB / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3818, allocations: 4 kB / 0.5732 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3821, allocations: 235.4 kB / 0.5734 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.3822, allocations: 81.02 kB / 0.5735 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3822, allocations: 4 kB / 0.5735 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.3823, allocations: 19.92 kB / 0.5735 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3824, allocations: 7.984 kB / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3824, allocations: 0 / 0.5735 GB, free: 6.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.605e-05/0.3825, allocations: 120.3 kB / 0.5736 GB, free: 6.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3825, allocations: 4 kB / 0.5736 GB, free: 6.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.3827, allocations: 27.94 kB / 0.5736 GB, free: 6.137 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.0008536/0.3836, allocations: 457 kB / 0.5741 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3839, allocations: 111.9 kB / 0.5742 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3839, allocations: 0 / 0.5742 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.384, allocations: 59.91 kB / 0.5742 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3843, allocations: 16.3 kB / 0.5743 GB, free: 5.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.3847, allocations: 241 kB / 0.5745 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3849, allocations: 0.7004 MB / 0.5752 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.385, allocations: 11.44 kB / 0.5752 GB, free: 4.602 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.385, allocations: 4 kB / 0.5752 GB, free: 4.598 MB / 394.7 MB Notification: Performance of Templates: time 0.003147/0.3881, allocations: 1.844 MB / 0.577 GB, free: 2.758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches