Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 98.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3947/0.3947, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.245e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4111, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.5774, allocations: 88.22 MB / 0.5521 GB, free: 11.09 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5778, allocations: 75.47 kB / 0.5521 GB, free: 11.02 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03747/0.6152, allocations: 8.525 MB / 0.5605 GB, free: 2.488 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6153, allocations: 0 / 0.5605 GB, free: 2.488 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.756e-05/0.6154, allocations: 12 kB / 0.5605 GB, free: 2.477 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008639/0.6162, allocations: 0.5484 MB / 0.561 GB, free: 1.883 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6163, allocations: 8.031 kB / 0.561 GB, free: 1.875 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.6164, allocations: 47.39 kB / 0.5611 GB, free: 1.828 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.6173, allocations: 355.3 kB / 0.5614 GB, free: 1.441 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.6173, allocations: 7.984 kB / 0.5614 GB, free: 1.434 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.6174, allocations: 8 kB / 0.5614 GB, free: 1.426 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002474/0.6176, allocations: 67.97 kB / 0.5615 GB, free: 1.359 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.6179, allocations: 100.5 kB / 0.5616 GB, free: 1.258 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6179, allocations: 3.984 kB / 0.5616 GB, free: 1.254 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.618, allocations: 0 / 0.5616 GB, free: 1.254 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.618, allocations: 7.953 kB / 0.5616 GB, free: 1.246 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.6192, allocations: 0.5007 MB / 0.5621 GB, free: 0.707 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.6194, allocations: 98.48 kB / 0.5622 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.6195, allocations: 32.84 kB / 0.5622 GB, free: 0.5664 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.6196, allocations: 4 kB / 0.5622 GB, free: 0.5625 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6196, allocations: 30.56 kB / 0.5622 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.6196, allocations: 4 kB / 0.5622 GB, free: 0.5195 MB / 395.1 MB Notification: Performance of matching and sorting (n=17): time 0.001233/0.6209, allocations: 360.4 kB / 0.5626 GB, free: 164 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.621, allocations: 55.41 kB / 0.5626 GB, free: 96 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.622, allocations: 473.2 kB / 0.5631 GB, free: 15.62 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.622, allocations: 25.7 kB / 0.5631 GB, free: 15.59 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6222, allocations: 242.7 kB / 0.5633 GB, free: 15.36 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.6223, allocations: 51.2 kB / 0.5634 GB, free: 15.3 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.6224, allocations: 4.219 kB / 0.5634 GB, free: 15.3 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6225, allocations: 322.8 kB / 0.5637 GB, free: 14.98 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.6227, allocations: 59.86 kB / 0.5637 GB, free: 14.92 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.6228, allocations: 55.89 kB / 0.5638 GB, free: 14.86 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.623, allocations: 62.16 kB / 0.5639 GB, free: 14.8 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.623, allocations: 0 / 0.5639 GB, free: 14.8 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004373/0.6235, allocations: 161.5 kB / 0.564 GB, free: 14.64 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6235, allocations: 8 kB / 0.564 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6235, allocations: 0 / 0.564 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6235, allocations: 4 kB / 0.564 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.6239, allocations: 43.84 kB / 0.5641 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6239, allocations: 0 / 0.5641 GB, free: 14.59 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.6241, allocations: 8 kB / 0.5641 GB, free: 14.58 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.6241, allocations: 4 kB / 0.5641 GB, free: 14.57 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.0001102/0.6243, allocations: 112.9 kB / 0.5642 GB, free: 14.46 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6244, allocations: 39.44 kB / 0.5642 GB, free: 14.42 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.6251, allocations: 250.5 kB / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.6252, allocations: 7.938 kB / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6252, allocations: 0 / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6252, allocations: 0 / 0.5645 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6268, allocations: 0.664 MB / 0.5651 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6268, allocations: 4 kB / 0.5651 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.6271, allocations: 39.98 kB / 0.5652 GB, free: 13.41 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.6271, allocations: 4 kB / 0.5652 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.6271, allocations: 3.984 kB / 0.5652 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6272, allocations: 0 / 0.5652 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6272, allocations: 0 / 0.5652 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.6278, allocations: 310.3 kB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.628, allocations: 144.6 kB / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.6281, allocations: 0 / 0.5656 GB, free: 12.92 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.6283, allocations: 8 kB / 0.5656 GB, free: 12.91 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.6284, allocations: 19.97 kB / 0.5656 GB, free: 12.89 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.6285, allocations: 7.984 kB / 0.5656 GB, free: 12.89 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0007052/0.6292, allocations: 382.8 kB / 0.566 GB, free: 12.52 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6292, allocations: 0 / 0.566 GB, free: 12.52 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005754/0.6298, allocations: 71.88 kB / 0.5661 GB, free: 12.45 MB / 411.1 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 (17): * Single equations (assignments): 17 * 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.001791/0.6316, allocations: 0.5712 MB / 0.5666 GB, free: 11.92 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004361/0.632, allocations: 139.9 kB / 0.5668 GB, free: 11.78 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6321, allocations: 4 kB / 0.5668 GB, free: 11.78 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.6323, allocations: 75.91 kB / 0.5668 GB, free: 11.7 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.633, allocations: 65.67 kB / 0.5669 GB, free: 11.64 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.6346, allocations: 0.5796 MB / 0.5675 GB, free: 11.03 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.6352, allocations: 0.8335 MB / 0.5683 GB, free: 10.17 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.6354, allocations: 35.42 kB / 0.5683 GB, free: 10.14 MB / 411.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6355, allocations: 0 / 0.5683 GB, free: 10.14 MB / 411.1 MB Notification: Performance of Templates: time 0.01329/0.6488, allocations: 4.933 MB / 0.5731 GB, free: 5.199 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches