Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 174.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.382/1.382, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.000904/0.0009041, allocations: 89.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.196/0.196, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.813e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5311, allocations: 87.61 MB / 0.5802 GB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5313, allocations: 71.95 kB / 0.5803 GB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.5415, allocations: 4.176 MB / 0.5844 GB, free: 4.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5415, allocations: 0 / 0.5844 GB, free: 4.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.5416, allocations: 0 / 0.5844 GB, free: 4.707 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.000333/0.5419, allocations: 354.5 kB / 0.5847 GB, free: 4.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5419, allocations: 11.98 kB / 0.5847 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.542, allocations: 11.91 kB / 0.5847 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.5422, allocations: 194.9 kB / 0.5849 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.5422, allocations: 0 / 0.5849 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.5422, allocations: 0 / 0.5849 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.27e-05/0.5423, allocations: 15.94 kB / 0.5849 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.5424, allocations: 59.41 kB / 0.585 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5424, allocations: 0 / 0.585 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.5425, allocations: 0 / 0.585 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5425, allocations: 0 / 0.585 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.5428, allocations: 269.3 kB / 0.5852 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.543, allocations: 38.53 kB / 0.5853 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.543, allocations: 12.94 kB / 0.5853 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.543, allocations: 4 kB / 0.5853 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5431, allocations: 34.56 kB / 0.5853 GB, free: 3.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5431, allocations: 0 / 0.5853 GB, free: 3.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003672/0.5434, allocations: 113.3 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.5435, allocations: 77.11 kB / 0.5855 GB, free: 3.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5436, allocations: 118.2 kB / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5437, allocations: 25.7 kB / 0.5856 GB, free: 3.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.5437, allocations: 92.14 kB / 0.5857 GB, free: 3.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.5437, allocations: 19.73 kB / 0.5858 GB, free: 3.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.5437, allocations: 0 / 0.5858 GB, free: 3.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5439, allocations: 318.8 kB / 0.5861 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.5439, allocations: 8 kB / 0.5861 GB, free: 2.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.5439, allocations: 25.7 kB / 0.5861 GB, free: 2.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.544, allocations: 16 kB / 0.5861 GB, free: 2.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.544, allocations: 0 / 0.5861 GB, free: 2.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.5441, allocations: 73.48 kB / 0.5862 GB, free: 2.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5441, allocations: 8.031 kB / 0.5862 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5441, allocations: 0 / 0.5862 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.5441, allocations: 0 / 0.5862 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.5442, allocations: 15.98 kB / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5442, allocations: 0 / 0.5862 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.5443, allocations: 7.984 kB / 0.5862 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5443, allocations: 4 kB / 0.5862 GB, free: 2.602 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 6.19e-05/0.5443, allocations: 102.4 kB / 0.5863 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.5444, allocations: 19.8 kB / 0.5863 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.5445, allocations: 74.02 kB / 0.5864 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5445, allocations: 4.141 kB / 0.5864 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5445, allocations: 0 / 0.5864 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5446, allocations: 3.984 kB / 0.5864 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.5449, allocations: 307.1 kB / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5449, allocations: 0 / 0.5867 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.5449, allocations: 15.98 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5449, allocations: 7.938 kB / 0.5867 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.545, allocations: 0 / 0.5867 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.545, allocations: 384 / 0.5867 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.545, allocations: 3.938 kB / 0.5867 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.5451, allocations: 167.4 kB / 0.5869 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.5452, allocations: 88.97 kB / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.5452, allocations: 4 kB / 0.587 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.5453, allocations: 11.98 kB / 0.587 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.5453, allocations: 0 / 0.587 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.5453, allocations: 4 kB / 0.587 GB, free: 1.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.5454, allocations: 100.3 kB / 0.5871 GB, free: 1.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5454, allocations: 0 / 0.5871 GB, free: 1.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.5456, allocations: 28 kB / 0.5871 GB, free: 1.586 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.0007826/0.5464, allocations: 387.4 kB / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5466, allocations: 31.98 kB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5466, allocations: 4 kB / 0.5875 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.5466, allocations: 16 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.5468, allocations: 11.98 kB / 0.5875 GB, free: 1.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.5471, allocations: 95.98 kB / 0.5876 GB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5474, allocations: 0.7001 MB / 0.5883 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.5474, allocations: 16.17 kB / 0.5883 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.5475, allocations: 15.42 kB / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5475, allocations: 0 / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of Templates: time 0.003303/0.5508, allocations: 1.251 MB / 0.5896 GB, free: 15.09 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches