Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 180.8 kB / 17.41 MB, free: 4.383 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.542/1.542, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008758/0.0008755, allocations: 89.42 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.3454/0.3454, allocations: 43.55 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.4177, allocations: 86.53 MB / 0.5644 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.418, allocations: 78.17 kB / 0.5645 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.4281, allocations: 4.065 MB / 0.5685 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4282, allocations: 0 / 0.5685 GB, free: 11.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4282, allocations: 4 kB / 0.5685 GB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004865/0.4287, allocations: 413.9 kB / 0.5689 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4288, allocations: 12.03 kB / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.4288, allocations: 8.844 kB / 0.5689 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.4291, allocations: 222.9 kB / 0.5691 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4291, allocations: 384 / 0.5691 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4291, allocations: 4.375 kB / 0.5691 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4293, allocations: 54.19 kB / 0.5692 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4293, allocations: 4.188 kB / 0.5692 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4293, allocations: 5.438 kB / 0.5692 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4293, allocations: 0 / 0.5692 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.4294, allocations: 23.98 kB / 0.5692 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.4299, allocations: 300.4 kB / 0.5695 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4301, allocations: 58.44 kB / 0.5695 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.4301, allocations: 20.94 kB / 0.5695 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4302, allocations: 3.984 kB / 0.5696 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.4302, allocations: 30.56 kB / 0.5696 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.4302, allocations: 4 kB / 0.5696 GB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005717/0.4308, allocations: 177.2 kB / 0.5698 GB, free: 10.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4308, allocations: 55.41 kB / 0.5698 GB, free: 10.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4311, allocations: 230.7 kB / 0.57 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4311, allocations: 25.7 kB / 0.5701 GB, free: 9.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.4312, allocations: 112.1 kB / 0.5702 GB, free: 9.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.4312, allocations: 23.78 kB / 0.5702 GB, free: 9.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.4312, allocations: 0 / 0.5702 GB, free: 9.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4314, allocations: 329.4 kB / 0.5705 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.4314, allocations: 27.98 kB / 0.5705 GB, free: 9.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.4315, allocations: 23.98 kB / 0.5705 GB, free: 9.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4316, allocations: 56.83 kB / 0.5706 GB, free: 9.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4317, allocations: 0 / 0.5706 GB, free: 9.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.4319, allocations: 109.4 kB / 0.5707 GB, free: 9.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4319, allocations: 4 kB / 0.5707 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4319, allocations: 0 / 0.5707 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4319, allocations: 0 / 0.5707 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.432, allocations: 15.98 kB / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.432, allocations: 0 / 0.5707 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.432, allocations: 12 kB / 0.5707 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4321, allocations: 0 / 0.5707 GB, free: 9.137 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.0001049/0.4322, allocations: 137.8 kB / 0.5709 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.4322, allocations: 11.91 kB / 0.5709 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.4325, allocations: 123.1 kB / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4325, allocations: 0 / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4325, allocations: 0 / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4325, allocations: 0.8125 kB / 0.571 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.433, allocations: 398.5 kB / 0.5714 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.433, allocations: 3.938 kB / 0.5714 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.433, allocations: 12.38 kB / 0.5714 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4331, allocations: 3.984 kB / 0.5714 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4331, allocations: 4 kB / 0.5714 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4331, allocations: 0 / 0.5714 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4331, allocations: 4 kB / 0.5714 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4333, allocations: 203.3 kB / 0.5716 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4334, allocations: 89.02 kB / 0.5717 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4334, allocations: 3.938 kB / 0.5717 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.4335, allocations: 11.98 kB / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.4335, allocations: 7.938 kB / 0.5717 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.4336, allocations: 0 / 0.5717 GB, free: 8.039 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.4337, allocations: 188.2 kB / 0.5719 GB, free: 7.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4337, allocations: 0 / 0.5719 GB, free: 7.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.434, allocations: 35.92 kB / 0.5719 GB, free: 7.82 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.0008145/0.4348, allocations: 394.4 kB / 0.5723 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.435, allocations: 59.95 kB / 0.5724 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.435, allocations: 0 / 0.5724 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.4351, allocations: 35.92 kB / 0.5724 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4354, allocations: 19.92 kB / 0.5724 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.4359, allocations: 313.6 kB / 0.5727 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4362, allocations: 0.7124 MB / 0.5734 GB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.4362, allocations: 19.44 kB / 0.5734 GB, free: 6.328 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4363, allocations: 0 / 0.5734 GB, free: 6.328 MB / 394.7 MB Notification: Performance of Templates: time 0.003188/0.4394, allocations: 1.669 MB / 0.575 GB, free: 4.664 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches