Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 88.73 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.539e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4251/0.5678, allocations: 87.5 MB / 0.5801 GB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5681, allocations: 67.97 kB / 0.5802 GB, free: 8.957 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.5788, allocations: 4.152 MB / 0.5842 GB, free: 4.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5788, allocations: 0 / 0.5842 GB, free: 4.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5789, allocations: 0 / 0.5842 GB, free: 4.816 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.0003788/0.5792, allocations: 365.4 kB / 0.5846 GB, free: 4.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5793, allocations: 15.98 kB / 0.5846 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.5793, allocations: 7.906 kB / 0.5846 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.5796, allocations: 185.2 kB / 0.5848 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.5796, allocations: 4 kB / 0.5848 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.5796, allocations: 3.984 kB / 0.5848 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.538e-05/0.5797, allocations: 15.95 kB / 0.5848 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.5798, allocations: 51.41 kB / 0.5849 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5798, allocations: 0 / 0.5849 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5798, allocations: 4 kB / 0.5849 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5798, allocations: 4 kB / 0.5849 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.5801, allocations: 249.4 kB / 0.5851 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5803, allocations: 42.45 kB / 0.5851 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.5803, allocations: 12.86 kB / 0.5852 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5804, allocations: 0 / 0.5852 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5804, allocations: 38.56 kB / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.5804, allocations: 0 / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003939/0.5808, allocations: 93.42 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.5809, allocations: 81.09 kB / 0.5854 GB, free: 3.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.581, allocations: 117 kB / 0.5855 GB, free: 3.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.581, allocations: 25.7 kB / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.5811, allocations: 100.1 kB / 0.5856 GB, free: 3.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.5811, allocations: 12.5 kB / 0.5856 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5811, allocations: 4 kB / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5813, allocations: 318.8 kB / 0.5859 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.5813, allocations: 8 kB / 0.5859 GB, free: 2.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.5813, allocations: 21.72 kB / 0.5859 GB, free: 2.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.5813, allocations: 8 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5814, allocations: 0 / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.31e-05/0.5815, allocations: 69.52 kB / 0.586 GB, free: 2.785 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5815, allocations: 7.938 kB / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5815, allocations: 0 / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5815, allocations: 4 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.5816, allocations: 15.98 kB / 0.586 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5816, allocations: 4 kB / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.5817, allocations: 4 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5817, allocations: 3.984 kB / 0.5861 GB, free: 2.746 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 () * 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 7.444e-05/0.5817, allocations: 109 kB / 0.5862 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.5818, allocations: 7.859 kB / 0.5862 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.5819, allocations: 70.02 kB / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5819, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5819, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.5819, allocations: 0 / 0.5862 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.5822, allocations: 303.1 kB / 0.5865 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5823, allocations: 0 / 0.5865 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.5823, allocations: 20.36 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5823, allocations: 0 / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5824, allocations: 3.938 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-05/0.5824, allocations: 7.938 kB / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5824, allocations: 0 / 0.5865 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.5826, allocations: 155.5 kB / 0.5867 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.5826, allocations: 92.95 kB / 0.5868 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5826, allocations: 4 kB / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.5827, allocations: 4.141 kB / 0.5868 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.5828, allocations: 11.97 kB / 0.5868 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.5828, allocations: 0 / 0.5868 GB, free: 1.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.67e-05/0.5829, allocations: 105 kB / 0.5869 GB, free: 1.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5829, allocations: 0 / 0.5869 GB, free: 1.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.5831, allocations: 27.98 kB / 0.5869 GB, free: 1.75 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 () * 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.0009163/0.5841, allocations: 381.1 kB / 0.5873 GB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.5842, allocations: 28 kB / 0.5873 GB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5842, allocations: 4 kB / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.5842, allocations: 12 kB / 0.5873 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5845, allocations: 15.98 kB / 0.5874 GB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.5848, allocations: 95.92 kB / 0.5874 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.5851, allocations: 0.6885 MB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.5852, allocations: 12.19 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.5853, allocations: 15.42 kB / 0.5881 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5853, allocations: 0 / 0.5881 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of Templates: time 0.0034/0.5887, allocations: 1.231 MB / 0.5893 GB, free: 15.29 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches