Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002203/0.002203, allocations: 189.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 93.48 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.563/0.563, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5876, allocations: 87.22 MB / 0.5639 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5879, allocations: 71.97 kB / 0.564 GB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.6062, allocations: 4.291 MB / 0.5682 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6063, allocations: 0 / 0.5682 GB, free: 11.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.6063, allocations: 0 / 0.5682 GB, free: 11.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005928/0.6069, allocations: 418.5 kB / 0.5686 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.607, allocations: 8.562 kB / 0.5686 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.607, allocations: 11.34 kB / 0.5686 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.6073, allocations: 198.9 kB / 0.5688 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6073, allocations: 0 / 0.5688 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.6074, allocations: 8.562 kB / 0.5688 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.6076, allocations: 65.61 kB / 0.5688 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6077, allocations: 4 kB / 0.5689 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6077, allocations: 1.031 kB / 0.5689 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.6077, allocations: 0 / 0.5689 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.608, allocations: 51.89 kB / 0.5689 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.6086, allocations: 324.1 kB / 0.5692 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.6088, allocations: 54.55 kB / 0.5693 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.6089, allocations: 7.984 kB / 0.5693 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6089, allocations: 34.5 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.6089, allocations: 0 / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001344/0.6103, allocations: 273.3 kB / 0.5696 GB, free: 9.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6104, allocations: 51.41 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.6106, allocations: 165.4 kB / 0.5698 GB, free: 9.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.6107, allocations: 29.69 kB / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/0.6108, allocations: 170.6 kB / 0.57 GB, free: 9.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.6108, allocations: 15.66 kB / 0.57 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.6108, allocations: 4 kB / 0.57 GB, free: 9.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.611, allocations: 314.8 kB / 0.5703 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.6112, allocations: 51.95 kB / 0.5703 GB, free: 8.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.6114, allocations: 43.97 kB / 0.5704 GB, free: 8.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.6117, allocations: 51.97 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6117, allocations: 0 / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005323/0.6122, allocations: 137.5 kB / 0.5706 GB, free: 8.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6123, allocations: 4 kB / 0.5706 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6123, allocations: 4.625 kB / 0.5706 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6123, allocations: 3.953 kB / 0.5706 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.6126, allocations: 23.92 kB / 0.5706 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6126, allocations: 0 / 0.5706 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.6127, allocations: 23.98 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6127, allocations: 4 kB / 0.5706 GB, free: 8.48 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001215/0.6129, allocations: 125.8 kB / 0.5707 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.6129, allocations: 7.906 kB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.6136, allocations: 158.6 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6136, allocations: 0 / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.6136, allocations: 3.953 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6136, allocations: 0 / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.6145, allocations: 446.5 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6146, allocations: 0 / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.6147, allocations: 27.98 kB / 0.5713 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6147, allocations: 0 / 0.5713 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6148, allocations: 3.953 kB / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.6148, allocations: 3.938 kB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6148, allocations: 0.75 kB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.6154, allocations: 239.3 kB / 0.5716 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.6155, allocations: 97 kB / 0.5717 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.6155, allocations: 0 / 0.5717 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6157, allocations: 19.94 kB / 0.5717 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.6158, allocations: 8 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6158, allocations: 0 / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.616, allocations: 140.8 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.616, allocations: 3.938 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000351/0.6163, allocations: 31.92 kB / 0.5719 GB, free: 7.09 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001168/0.6175, allocations: 411.8 kB / 0.5723 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.6181, allocations: 107.9 kB / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6181, allocations: 0 / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.6184, allocations: 55.97 kB / 0.5724 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.6187, allocations: 15.98 kB / 0.5724 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.6194, allocations: 289.1 kB / 0.5727 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.6198, allocations: 0.716 MB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.6199, allocations: 15.44 kB / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6199, allocations: 0 / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of Templates: time 0.005043/0.625, allocations: 1.772 MB / 0.5752 GB, free: 3.762 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches