Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000826/0.0008259, allocations: 179.1 kB / 18.09 MB, free: 3.746 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.194/1.194, allocations: 223.3 MB / 242.1 MB, free: 11.59 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.0007468/0.0007468, allocations: 98.22 kB / 293.3 MB, free: 10.76 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.2802/0.2802, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 19.98 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 61.87 MB / 0.5107 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09516/0.3528, allocations: 89.1 MB / 0.5977 GB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.353, allocations: 71.95 kB / 0.5978 GB, free: 5.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.3703, allocations: 8.476 MB / 0.6061 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3703, allocations: 0 / 0.6061 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.3704, allocations: 4 kB / 0.6061 GB, free: 13.42 MB / 426.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.0008134/0.3712, allocations: 0.6377 MB / 0.6067 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3712, allocations: 8.031 kB / 0.6067 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.3713, allocations: 44.38 kB / 0.6068 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.3719, allocations: 360 kB / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3719, allocations: 384 / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3719, allocations: 8.375 kB / 0.6071 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3721, allocations: 58.23 kB / 0.6072 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3721, allocations: 4.188 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3722, allocations: 7.938 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3722, allocations: 0 / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3723, allocations: 39.91 kB / 0.6072 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.373, allocations: 460.6 kB / 0.6076 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3731, allocations: 50.59 kB / 0.6077 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3731, allocations: 16.94 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3732, allocations: 0 / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3732, allocations: 38.56 kB / 0.6077 GB, free: 11.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3732, allocations: 4 kB / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009661/0.3742, allocations: 353 kB / 0.6081 GB, free: 11.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3742, allocations: 51.41 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3753, allocations: 0.8534 MB / 0.609 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3754, allocations: 25.7 kB / 0.609 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3755, allocations: 224.1 kB / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3755, allocations: 27.56 kB / 0.6092 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.3755, allocations: 4 kB / 0.6092 GB, free: 9.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3757, allocations: 366.7 kB / 0.6096 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.3758, allocations: 35.92 kB / 0.6096 GB, free: 9.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.3759, allocations: 39.97 kB / 0.6097 GB, free: 9.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.376, allocations: 76.83 kB / 0.6097 GB, free: 9.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.376, allocations: 0 / 0.6097 GB, free: 9.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000238/0.3763, allocations: 153.2 kB / 0.6099 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3763, allocations: 8 kB / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3763, allocations: 0 / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3763, allocations: 0 / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.3764, allocations: 23.92 kB / 0.6099 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.3764, allocations: 0 / 0.6099 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.3765, allocations: 15.84 kB / 0.6099 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3765, allocations: 0 / 0.6099 GB, free: 9.254 MB / 426.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.0001724/0.3767, allocations: 218.3 kB / 0.6101 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.3768, allocations: 47.47 kB / 0.6102 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.3771, allocations: 185.7 kB / 0.6104 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3771, allocations: 8 kB / 0.6104 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3771, allocations: 0 / 0.6104 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3771, allocations: 3.938 kB / 0.6104 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.378, allocations: 0.6553 MB / 0.611 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.378, allocations: 0 / 0.611 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.3781, allocations: 23.98 kB / 0.611 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3781, allocations: 3.938 kB / 0.611 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3781, allocations: 8 kB / 0.611 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3781, allocations: 0 / 0.611 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3781, allocations: 0 / 0.611 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.3785, allocations: 255.8 kB / 0.6113 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3786, allocations: 164.5 kB / 0.6114 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.3787, allocations: 3.938 kB / 0.6114 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.3788, allocations: 12 kB / 0.6115 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3788, allocations: 7.984 kB / 0.6115 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3789, allocations: 8 kB / 0.6115 GB, free: 7.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006746/0.3795, allocations: 0.6355 MB / 0.6121 GB, free: 6.922 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3795, allocations: 0 / 0.6121 GB, free: 6.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000305/0.3799, allocations: 71.92 kB / 0.6122 GB, free: 6.852 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.000908/0.3808, allocations: 469.2 kB / 0.6126 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.381, allocations: 83.89 kB / 0.6127 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.381, allocations: 0 / 0.6127 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.3811, allocations: 48.03 kB / 0.6127 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3815, allocations: 26.25 kB / 0.6128 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3828, allocations: 0.9516 MB / 0.6137 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3832, allocations: 0.8341 MB / 0.6145 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3833, allocations: 52.95 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.3834, allocations: 27.44 kB / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3834, allocations: 0 / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of Templates: time 0.00634/0.3898, allocations: 2.695 MB / 0.6172 GB, free: 1.801 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches