Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.309/1.309, allocations: 221.4 MB / 236 MB, free: 2.965 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.0009295/0.0009296, allocations: 90.92 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1884/0.1884, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.951e-05, allocations: 224 / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.5526, allocations: 88.54 MB / 0.5882 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5529, allocations: 72.53 kB / 0.5882 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.5711, allocations: 8.372 MB / 0.5964 GB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5711, allocations: 4 kB / 0.5964 GB, free: 8.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.5712, allocations: 4 kB / 0.5964 GB, free: 8.316 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005291/0.5717, allocations: 0.552 MB / 0.597 GB, free: 7.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5718, allocations: 8.031 kB / 0.597 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.5718, allocations: 43.44 kB / 0.597 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.5723, allocations: 331.3 kB / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.5724, allocations: 0 / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.5724, allocations: 8 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5725, allocations: 57.62 kB / 0.5974 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5725, allocations: 0 / 0.5974 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5725, allocations: 0 / 0.5974 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5726, allocations: 4 kB / 0.5974 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.5726, allocations: 16 kB / 0.5974 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.5733, allocations: 452.5 kB / 0.5978 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.472e-05/0.5734, allocations: 42.58 kB / 0.5979 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.5734, allocations: 8.859 kB / 0.5979 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.5734, allocations: 0 / 0.5979 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5734, allocations: 38.56 kB / 0.5979 GB, free: 6.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5735, allocations: 0 / 0.5979 GB, free: 6.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.574, allocations: 240 kB / 0.5982 GB, free: 6.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.574, allocations: 59.23 kB / 0.5982 GB, free: 6.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5752, allocations: 0.7811 MB / 0.599 GB, free: 5.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.5752, allocations: 25.7 kB / 0.599 GB, free: 5.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.5753, allocations: 227.9 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.5754, allocations: 23.64 kB / 0.5992 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5754, allocations: 8 kB / 0.5992 GB, free: 5.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5755, allocations: 354.8 kB / 0.5996 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.5756, allocations: 16 kB / 0.5996 GB, free: 4.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.5756, allocations: 20.08 kB / 0.5996 GB, free: 4.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.5756, allocations: 24.12 kB / 0.5996 GB, free: 4.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5757, allocations: 3.938 kB / 0.5996 GB, free: 4.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001467/0.5758, allocations: 113.1 kB / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5758, allocations: 8 kB / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5758, allocations: 0 / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5759, allocations: 3.953 kB / 0.5998 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.576, allocations: 23.92 kB / 0.5998 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.576, allocations: 0 / 0.5998 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.5761, allocations: 8 kB / 0.5998 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5761, allocations: 4 kB / 0.5998 GB, free: 4.641 MB / 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 () * 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 5.865e-05/0.5761, allocations: 105 kB / 0.5999 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.5762, allocations: 43.44 kB / 0.5999 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.5765, allocations: 145.5 kB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5765, allocations: 4 kB / 0.6001 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5765, allocations: 7.953 kB / 0.6001 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5765, allocations: 0 / 0.6001 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.5773, allocations: 0.6123 MB / 0.6007 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5773, allocations: 0 / 0.6007 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.5774, allocations: 23.98 kB / 0.6007 GB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5774, allocations: 3.953 kB / 0.6007 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.5775, allocations: 4 kB / 0.6007 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5775, allocations: 8.031 kB / 0.6007 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5775, allocations: 0 / 0.6007 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.5777, allocations: 221.8 kB / 0.6009 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.5779, allocations: 164.5 kB / 0.6011 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.578, allocations: 11.92 kB / 0.6011 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.5781, allocations: 12 kB / 0.6011 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5781, allocations: 7.984 kB / 0.6011 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.5781, allocations: 4 kB / 0.6011 GB, free: 3.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006619/0.5788, allocations: 0.6303 MB / 0.6017 GB, free: 2.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5788, allocations: 4 kB / 0.6017 GB, free: 2.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000287/0.5791, allocations: 67.94 kB / 0.6018 GB, free: 2.457 MB / 410.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 () * 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.0009131/0.58, allocations: 422.7 kB / 0.6022 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.5801, allocations: 47.94 kB / 0.6023 GB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5801, allocations: 0 / 0.6023 GB, free: 2.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.5802, allocations: 27.94 kB / 0.6023 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5805, allocations: 26.08 kB / 0.6023 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.5814, allocations: 0.7356 MB / 0.603 GB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.5818, allocations: 0.8379 MB / 0.6038 GB, free: 444 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.617e-05/0.5819, allocations: 40.97 kB / 0.6039 GB, free: 404 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.582, allocations: 23.44 kB / 0.6039 GB, free: 380 kB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.582, allocations: 4 kB / 0.6039 GB, free: 376 kB / 410.7 MB Notification: Performance of Templates: time 0.005928/0.588, allocations: 2.655 MB / 0.6065 GB, free: 13.71 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches