Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008266, allocations: 86.77 kB / 292.2 MB, free: 10.92 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.2939/0.2939, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003378, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 61.9 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.4213, allocations: 88.16 MB / 0.5957 GB, free: 6.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4216, allocations: 79.94 kB / 0.5957 GB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.4322, allocations: 4.292 MB / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4323, allocations: 0 / 0.5999 GB, free: 2.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4323, allocations: 0 / 0.5999 GB, free: 2.621 MB / 410.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.000414/0.4327, allocations: 414.8 kB / 0.6003 GB, free: 2.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4328, allocations: 16.56 kB / 0.6003 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.4328, allocations: 7.906 kB / 0.6003 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.433, allocations: 199.9 kB / 0.6005 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.433, allocations: 0 / 0.6005 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4331, allocations: 4 kB / 0.6005 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.4332, allocations: 61.62 kB / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4332, allocations: 0 / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4333, allocations: 0 / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4333, allocations: 3.938 kB / 0.6006 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4334, allocations: 39.97 kB / 0.6006 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4338, allocations: 304.7 kB / 0.6009 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.4339, allocations: 58.48 kB / 0.601 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.4339, allocations: 0 / 0.601 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.434, allocations: 30.56 kB / 0.601 GB, free: 1.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.434, allocations: 0 / 0.601 GB, free: 1.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008945/0.4349, allocations: 265.2 kB / 0.6013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4349, allocations: 55.41 kB / 0.6013 GB, free: 1.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4351, allocations: 183.1 kB / 0.6015 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4351, allocations: 25.7 kB / 0.6015 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.4352, allocations: 107.9 kB / 0.6016 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4352, allocations: 27.64 kB / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4352, allocations: 0 / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4354, allocations: 330.8 kB / 0.602 GB, free: 336 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.4355, allocations: 32.06 kB / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.4356, allocations: 39.95 kB / 0.602 GB, free: 264 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.4357, allocations: 39.98 kB / 0.6021 GB, free: 224 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4357, allocations: 0 / 0.6021 GB, free: 224 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.4359, allocations: 121.4 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4359, allocations: 5.094 kB / 0.6022 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4359, allocations: 4 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.436, allocations: 432 / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4361, allocations: 19.98 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4361, allocations: 0 / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.4361, allocations: 15.92 kB / 0.6022 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4362, allocations: 8 kB / 0.6022 GB, free: 44 kB / 410.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 (8): * Single equations (assignments): 8 * 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.0001017/0.4363, allocations: 125.8 kB / 0.6024 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4363, allocations: 11.91 kB / 0.6024 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.4366, allocations: 142.3 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4366, allocations: 0 / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4366, allocations: 4 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4366, allocations: 0 / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.4372, allocations: 443.5 kB / 0.6029 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4372, allocations: 0 / 0.6029 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.4372, allocations: 19.98 kB / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4373, allocations: 0 / 0.6029 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.4373, allocations: 8 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4373, allocations: 4.078 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4373, allocations: 7.922 kB / 0.603 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.4375, allocations: 234 kB / 0.6032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.4376, allocations: 93 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.4377, allocations: 4 kB / 0.6033 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.4377, allocations: 15.98 kB / 0.6033 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.4378, allocations: 7.953 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.4378, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.4379, allocations: 160 kB / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4379, allocations: 0 / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000244/0.4382, allocations: 23.98 kB / 0.6035 GB, free: 14.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001034/0.4392, allocations: 478.5 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.4394, allocations: 83.94 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4395, allocations: 4 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.4396, allocations: 35.92 kB / 0.6041 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.4398, allocations: 23.89 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.4403, allocations: 282.4 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4405, allocations: 0.7121 MB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.973e-05/0.4406, allocations: 20.95 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.4406, allocations: 27.36 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4406, allocations: 0 / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003303/0.4439, allocations: 1.362 MB / 0.6064 GB, free: 11.75 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches