Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 184.5 kB / 17.41 MB, free: 4.402 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.264/1.264, 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.000725/0.0007251, allocations: 88.98 kB / 271.9 MB, free: 8.262 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.3388/0.3388, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 16 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/0.3801, allocations: 87.51 MB / 0.5654 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3804, allocations: 79.95 kB / 0.5655 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.3913, allocations: 4.609 MB / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3914, allocations: 0 / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3914, allocations: 0.9375 kB / 0.57 GB, free: 10.11 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.0004395/0.3918, allocations: 399.9 kB / 0.5703 GB, free: 9.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3919, allocations: 8.031 kB / 0.5704 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3919, allocations: 8.844 kB / 0.5704 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3921, allocations: 196.1 kB / 0.5705 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3922, allocations: 8.375 kB / 0.5706 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3922, allocations: 4.375 kB / 0.5706 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3924, allocations: 83.88 kB / 0.5706 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3924, allocations: 192 / 0.5706 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3924, allocations: 3.938 kB / 0.5706 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3924, allocations: 7 kB / 0.5707 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3926, allocations: 47.97 kB / 0.5707 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.393, allocations: 308.7 kB / 0.571 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.3931, allocations: 58.55 kB / 0.571 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.3932, allocations: 28.94 kB / 0.5711 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3932, allocations: 0 / 0.5711 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3933, allocations: 30.88 kB / 0.5711 GB, free: 8.781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3933, allocations: 4 kB / 0.5711 GB, free: 8.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000753/0.394, allocations: 261.2 kB / 0.5714 GB, free: 8.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3941, allocations: 81.11 kB / 0.5714 GB, free: 8.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3942, allocations: 149.8 kB / 0.5716 GB, free: 8.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3943, allocations: 25.7 kB / 0.5716 GB, free: 8.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.3943, allocations: 92.14 kB / 0.5717 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3943, allocations: 27.64 kB / 0.5717 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.3943, allocations: 0 / 0.5717 GB, free: 8.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.3944, allocations: 322.8 kB / 0.572 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.3946, allocations: 51.95 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3947, allocations: 57.69 kB / 0.5721 GB, free: 7.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.395, allocations: 100.8 kB / 0.5722 GB, free: 7.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.395, allocations: 0 / 0.5722 GB, free: 7.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002849/0.3953, allocations: 149.6 kB / 0.5724 GB, free: 7.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3953, allocations: 7.938 kB / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3953, allocations: 0 / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3953, allocations: 4 kB / 0.5724 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3954, allocations: 23.98 kB / 0.5724 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3954, allocations: 0 / 0.5724 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3955, allocations: 15.98 kB / 0.5724 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3955, allocations: 0.625 kB / 0.5724 GB, free: 7.371 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.25e-05/0.3956, allocations: 126.3 kB / 0.5725 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3956, allocations: 7.906 kB / 0.5725 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.396, allocations: 158.5 kB / 0.5727 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.396, allocations: 0 / 0.5727 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.396, allocations: 8.547 kB / 0.5727 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.396, allocations: 7.938 kB / 0.5727 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.3965, allocations: 426.4 kB / 0.5731 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3966, allocations: 288 / 0.5731 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.3966, allocations: 23.98 kB / 0.5731 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3967, allocations: 3.938 kB / 0.5731 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3967, allocations: 5.109 kB / 0.5732 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3967, allocations: 3.938 kB / 0.5732 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3967, allocations: 0 / 0.5732 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.397, allocations: 239.4 kB / 0.5734 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.3971, allocations: 89.02 kB / 0.5735 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3971, allocations: 4 kB / 0.5735 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3972, allocations: 19.92 kB / 0.5735 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.3972, allocations: 3.984 kB / 0.5735 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3972, allocations: 4 kB / 0.5735 GB, free: 6.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.907e-05/0.3973, allocations: 117.3 kB / 0.5736 GB, free: 6.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3973, allocations: 0 / 0.5736 GB, free: 6.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.3976, allocations: 35.94 kB / 0.5736 GB, free: 6.012 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.00088/0.3985, allocations: 455.9 kB / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.3988, allocations: 107.9 kB / 0.5742 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3988, allocations: 0 / 0.5742 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.399, allocations: 59.91 kB / 0.5742 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3992, allocations: 15.98 kB / 0.5743 GB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3996, allocations: 241 kB / 0.5745 GB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3999, allocations: 0.7043 MB / 0.5752 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.3999, allocations: 15.44 kB / 0.5752 GB, free: 4.473 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4, allocations: 0 / 0.5752 GB, free: 4.473 MB / 394.7 MB Notification: Performance of Templates: time 0.003177/0.4031, allocations: 1.839 MB / 0.577 GB, free: 2.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches