Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002289/0.002288, allocations: 186.2 kB / 16.4 MB, free: 5.75 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.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001126/0.001126, allocations: 96.42 kB / 270.9 MB, free: 8.379 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.5222/0.5222, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006204/0.0006206, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1244, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5771, allocations: 87.29 MB / 0.564 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5775, allocations: 79.95 kB / 0.564 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0313/0.6088, allocations: 8.103 MB / 0.572 GB, free: 7.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6088, allocations: 4 kB / 0.572 GB, free: 7.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.6089, allocations: 8 kB / 0.572 GB, free: 7.266 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.0009054/0.6098, allocations: 0.617 MB / 0.5726 GB, free: 6.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6099, allocations: 16.02 kB / 0.5726 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.61, allocations: 39.44 kB / 0.5726 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.6106, allocations: 327.9 kB / 0.5729 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6107, allocations: 8 kB / 0.5729 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.6107, allocations: 0 / 0.5729 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.6109, allocations: 67.3 kB / 0.573 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.6109, allocations: 4.562 kB / 0.573 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.611, allocations: 0 / 0.573 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.611, allocations: 4.562 kB / 0.573 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.6112, allocations: 35.92 kB / 0.5731 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.6121, allocations: 440.8 kB / 0.5735 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.6124, allocations: 50.48 kB / 0.5735 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.6124, allocations: 11.19 kB / 0.5735 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.6125, allocations: 34.58 kB / 0.5736 GB, free: 5.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 4.228e-06/0.6125, allocations: 4 kB / 0.5736 GB, free: 5.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001036/0.6135, allocations: 257.2 kB / 0.5738 GB, free: 5.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6136, allocations: 59.39 kB / 0.5739 GB, free: 5.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.6157, allocations: 0.7901 MB / 0.5746 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6158, allocations: 25.7 kB / 0.5747 GB, free: 4.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.616, allocations: 242.5 kB / 0.5749 GB, free: 4.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.616, allocations: 19.75 kB / 0.5749 GB, free: 4.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.616, allocations: 0 / 0.5749 GB, free: 4.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6162, allocations: 310.8 kB / 0.5752 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.6163, allocations: 27.98 kB / 0.5752 GB, free: 3.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.6165, allocations: 31.97 kB / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.6166, allocations: 23.98 kB / 0.5753 GB, free: 3.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6167, allocations: 0 / 0.5753 GB, free: 3.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000353/0.617, allocations: 94.48 kB / 0.5754 GB, free: 3.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6171, allocations: 7.953 kB / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6171, allocations: 0 / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6171, allocations: 0 / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.6172, allocations: 15.98 kB / 0.5754 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6173, allocations: 0 / 0.5754 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6174, allocations: 11.98 kB / 0.5754 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6175, allocations: 4 kB / 0.5754 GB, free: 3.531 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 (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 0.0003484/0.6178, allocations: 209.8 kB / 0.5756 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.618, allocations: 43.69 kB / 0.5757 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/0.6185, allocations: 157.8 kB / 0.5758 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.6185, allocations: 8 kB / 0.5758 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6186, allocations: 0 / 0.5758 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6186, allocations: 3.984 kB / 0.5758 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6199, allocations: 0.5882 MB / 0.5764 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6199, allocations: 0 / 0.5764 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.6201, allocations: 27.88 kB / 0.5764 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6201, allocations: 0 / 0.5764 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6201, allocations: 0 / 0.5764 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.6201, allocations: 7.938 kB / 0.5764 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6201, allocations: 0 / 0.5764 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.6206, allocations: 227.7 kB / 0.5767 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.6209, allocations: 160.5 kB / 0.5768 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.621, allocations: 7.953 kB / 0.5768 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6211, allocations: 7.984 kB / 0.5768 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.6212, allocations: 4 kB / 0.5768 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.6212, allocations: 0 / 0.5768 GB, free: 1.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001228/0.6225, allocations: 0.6472 MB / 0.5775 GB, free: 1.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6225, allocations: 4 kB / 0.5775 GB, free: 1.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.6229, allocations: 55.94 kB / 0.5775 GB, free: 1.285 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 (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.001176/0.6241, allocations: 412.1 kB / 0.5779 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.6245, allocations: 55.97 kB / 0.578 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6245, allocations: 4 kB / 0.578 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.6247, allocations: 27.98 kB / 0.578 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.6251, allocations: 30.28 kB / 0.578 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.6272, allocations: 0.9677 MB / 0.579 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.6278, allocations: 0.8418 MB / 0.5798 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6279, allocations: 19.38 kB / 0.5798 GB, free: 14.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6279, allocations: 0 / 0.5798 GB, free: 14.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01199/0.6399, allocations: 4.292 MB / 0.584 GB, free: 10.67 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches