Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002252/0.002252, allocations: 186.3 kB / 16.4 MB, free: 5.695 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001108/0.001108, allocations: 90.91 kB / 270.9 MB, free: 8.363 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.508/0.508, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004493, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.609, allocations: 86.74 MB / 0.5634 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6093, allocations: 79.95 kB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.6274, allocations: 4.315 MB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6275, allocations: 0 / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.6275, allocations: 0 / 0.5677 GB, free: 11.48 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.0005119/0.628, allocations: 374.8 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6281, allocations: 16.02 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.6281, allocations: 3.906 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6284, allocations: 198.8 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6284, allocations: 0 / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.6285, allocations: 11.94 kB / 0.5683 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.6287, allocations: 65.89 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6287, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6287, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.6287, allocations: 4 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.6289, allocations: 25.02 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.6294, allocations: 284.9 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.6297, allocations: 51.91 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.6298, allocations: 0 / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.6298, allocations: 34.56 kB / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6298, allocations: 0 / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009533/0.6308, allocations: 173.6 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.6309, allocations: 77.11 kB / 0.569 GB, free: 10.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.6311, allocations: 134.4 kB / 0.5691 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6311, allocations: 25.7 kB / 0.5691 GB, free: 9.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.6312, allocations: 158.5 kB / 0.5693 GB, free: 9.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.6313, allocations: 15.75 kB / 0.5693 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.6313, allocations: 4 kB / 0.5693 GB, free: 9.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6314, allocations: 310.8 kB / 0.5696 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.6316, allocations: 27.98 kB / 0.5696 GB, free: 9.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.6317, allocations: 41.69 kB / 0.5697 GB, free: 9.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.6319, allocations: 31.92 kB / 0.5697 GB, free: 9.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6319, allocations: 6.75 kB / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003368/0.6322, allocations: 81.67 kB / 0.5698 GB, free: 9.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6323, allocations: 4 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6323, allocations: 2.578 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6323, allocations: 3.984 kB / 0.5698 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.6325, allocations: 16.75 kB / 0.5698 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6325, allocations: 0 / 0.5698 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.6326, allocations: 11.98 kB / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.6326, allocations: 7.953 kB / 0.5698 GB, free: 9.113 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.000126/0.6327, allocations: 113.8 kB / 0.5699 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.6328, allocations: 11.84 kB / 0.5699 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.6333, allocations: 105.9 kB / 0.57 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6333, allocations: 64 / 0.57 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6333, allocations: 4 kB / 0.5701 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6333, allocations: 0 / 0.5701 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.634, allocations: 366.5 kB / 0.5704 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.634, allocations: 0 / 0.5704 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.6342, allocations: 15.98 kB / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6342, allocations: 0 / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.6342, allocations: 0 / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6342, allocations: 0 / 0.5704 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6342, allocations: 4 kB / 0.5704 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.6346, allocations: 199.4 kB / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.6347, allocations: 85.02 kB / 0.5707 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.6347, allocations: 0 / 0.5707 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6348, allocations: 7.984 kB / 0.5707 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.6349, allocations: 15.88 kB / 0.5707 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6349, allocations: 4 kB / 0.5707 GB, free: 8.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.635, allocations: 113.2 kB / 0.5708 GB, free: 7.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6351, allocations: 0.75 kB / 0.5708 GB, free: 7.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.6354, allocations: 27.98 kB / 0.5709 GB, free: 7.957 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.001265/0.6367, allocations: 453.1 kB / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.6371, allocations: 55.97 kB / 0.5713 GB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6371, allocations: 0 / 0.5713 GB, free: 7.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.6373, allocations: 35.91 kB / 0.5714 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.6376, allocations: 16 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.6381, allocations: 200.8 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.6385, allocations: 0.6965 MB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.6385, allocations: 19.42 kB / 0.5723 GB, free: 6.535 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6386, allocations: 0 / 0.5723 GB, free: 6.535 MB / 394.7 MB Notification: Performance of Templates: time 0.004763/0.6433, allocations: 1.6 MB / 0.5738 GB, free: 4.934 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches