Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.8 kB / 18.09 MB, free: 3.727 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.205/1.205, allocations: 223.3 MB / 242.1 MB, free: 9.973 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.0007206/0.000721, allocations: 93.53 kB / 293.3 MB, free: 10.58 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.2718/0.2718, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 8 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2782, allocations: 61.88 MB / 0.5107 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0976/0.3759, allocations: 89.08 MB / 0.5977 GB, free: 6.004 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3762, allocations: 83.88 kB / 0.5978 GB, free: 5.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.3932, allocations: 8.469 MB / 0.6061 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3933, allocations: 0 / 0.6061 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.344e-05/0.3933, allocations: 8 kB / 0.6061 GB, free: 13.43 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.0006679/0.394, allocations: 0.6377 MB / 0.6067 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.394, allocations: 8.031 kB / 0.6067 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.3941, allocations: 44.38 kB / 0.6067 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.3946, allocations: 356.1 kB / 0.6071 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.3946, allocations: 384 / 0.6071 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3946, allocations: 8.359 kB / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3948, allocations: 58.23 kB / 0.6071 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3948, allocations: 12.12 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3948, allocations: 7.938 kB / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3948, allocations: 0 / 0.6072 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3949, allocations: 35.97 kB / 0.6072 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3955, allocations: 456.6 kB / 0.6076 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3956, allocations: 58.58 kB / 0.6077 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.3957, allocations: 16.86 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3957, allocations: 7.938 kB / 0.6077 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3958, allocations: 34.64 kB / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3958, allocations: 0 / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008871/0.3967, allocations: 345 kB / 0.6081 GB, free: 11.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3967, allocations: 51.41 kB / 0.6081 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3979, allocations: 0.8535 MB / 0.609 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3979, allocations: 33.64 kB / 0.609 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.398, allocations: 216.1 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.3981, allocations: 35.55 kB / 0.6092 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3981, allocations: 0 / 0.6092 GB, free: 9.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3982, allocations: 366.7 kB / 0.6096 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.3983, allocations: 35.97 kB / 0.6096 GB, free: 9.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.3984, allocations: 31.98 kB / 0.6096 GB, free: 9.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3986, allocations: 93.02 kB / 0.6097 GB, free: 9.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3986, allocations: 0 / 0.6097 GB, free: 9.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002395/0.3988, allocations: 149.2 kB / 0.6099 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3988, allocations: 9.719 kB / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3989, allocations: 0 / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3989, allocations: 0 / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.399, allocations: 23.92 kB / 0.6099 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.399, allocations: 0 / 0.6099 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.3991, allocations: 15.84 kB / 0.6099 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3991, 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.0001736/0.3992, allocations: 222.3 kB / 0.6101 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.3993, allocations: 43.47 kB / 0.6102 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.3996, allocations: 185.3 kB / 0.6104 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3997, allocations: 0 / 0.6104 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3997, allocations: 4 kB / 0.6104 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3997, allocations: 3.938 kB / 0.6104 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.4005, allocations: 0.6514 MB / 0.611 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4005, allocations: 0 / 0.611 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.4006, allocations: 20.03 kB / 0.611 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4006, allocations: 7.938 kB / 0.611 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4006, allocations: 7.984 kB / 0.611 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4006, allocations: 0 / 0.611 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4006, allocations: 432 / 0.611 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.4009, allocations: 259.7 kB / 0.6113 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.4011, allocations: 164.5 kB / 0.6114 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.4011, allocations: 7.938 kB / 0.6114 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.4012, allocations: 7.984 kB / 0.6115 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4013, allocations: 11.98 kB / 0.6115 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4013, allocations: 4 kB / 0.6115 GB, free: 7.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006284/0.4019, allocations: 0.651 MB / 0.6121 GB, free: 6.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4019, allocations: 0 / 0.6121 GB, free: 6.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.4022, allocations: 63.94 kB / 0.6122 GB, free: 6.848 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.0008643/0.4031, allocations: 468.8 kB / 0.6126 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.4033, allocations: 83.89 kB / 0.6127 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4033, allocations: 0 / 0.6127 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.4034, allocations: 48.03 kB / 0.6127 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4038, allocations: 33.2 kB / 0.6128 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4049, allocations: 0.9555 MB / 0.6137 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4053, allocations: 0.8262 MB / 0.6145 GB, free: 4.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4054, allocations: 52.97 kB / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.4055, allocations: 23.44 kB / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4055, allocations: 0 / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of Templates: time 0.005773/0.4113, allocations: 2.704 MB / 0.6172 GB, free: 1.793 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches