Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001092/0.001092, allocations: 95.39 kB / 270.9 MB, free: 8.375 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.4991/0.4991, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 8 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5866, allocations: 86.84 MB / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5869, allocations: 71.97 kB / 0.5636 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.6051, allocations: 4.338 MB / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6051, allocations: 0 / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.6051, allocations: 0 / 0.5678 GB, free: 11.36 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.0005874/0.6057, allocations: 425.3 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6058, allocations: 12.02 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.6059, allocations: 15.34 kB / 0.5683 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.6061, allocations: 203.5 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.6062, allocations: 8 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.6062, allocations: 4 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.6064, allocations: 53.67 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6065, allocations: 3.984 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.6065, allocations: 8.969 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6065, allocations: 4 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.6067, allocations: 44.59 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.6073, allocations: 296.8 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.6075, allocations: 50.56 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.6075, allocations: 3.938 kB / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6075, allocations: 34.56 kB / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.6076, allocations: 0 / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001239/0.6088, allocations: 257.1 kB / 0.5692 GB, free: 9.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.6089, allocations: 51.41 kB / 0.5692 GB, free: 9.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.6092, allocations: 192.8 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.6093, allocations: 25.7 kB / 0.5694 GB, free: 9.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.6094, allocations: 162.6 kB / 0.5696 GB, free: 9.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.6094, allocations: 27.64 kB / 0.5696 GB, free: 9.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.6094, allocations: 0 / 0.5696 GB, free: 9.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6095, allocations: 323.5 kB / 0.5699 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.6098, allocations: 35.97 kB / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.61, allocations: 44.03 kB / 0.57 GB, free: 8.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.6102, allocations: 43.97 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6102, allocations: 0 / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005176/0.6108, allocations: 121.6 kB / 0.5702 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6108, allocations: 15.61 kB / 0.5702 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6108, allocations: 0 / 0.5702 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6109, allocations: 3.953 kB / 0.5702 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.6111, allocations: 19.98 kB / 0.5702 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6111, allocations: 8 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6113, allocations: 15.89 kB / 0.5702 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6113, allocations: 7.938 kB / 0.5702 GB, free: 8.699 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.0001488/0.6115, allocations: 121.8 kB / 0.5704 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.6115, allocations: 15.89 kB / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.6121, allocations: 147 kB / 0.5705 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6121, allocations: 0.75 kB / 0.5705 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6122, allocations: 3.953 kB / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6122, allocations: 4 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/0.6131, allocations: 419 kB / 0.5709 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6131, allocations: 8 kB / 0.5709 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.6133, allocations: 23.92 kB / 0.5709 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.6133, allocations: 3.984 kB / 0.571 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.6133, allocations: 11.95 kB / 0.571 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6133, allocations: 3.938 kB / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6133, allocations: 0 / 0.571 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.6139, allocations: 223.3 kB / 0.5712 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.614, allocations: 97 kB / 0.5713 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.6141, allocations: 4 kB / 0.5713 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.6142, allocations: 19.94 kB / 0.5713 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.6143, allocations: 8 kB / 0.5713 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6143, allocations: 0 / 0.5713 GB, free: 7.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.6145, allocations: 160.8 kB / 0.5715 GB, free: 7.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6146, allocations: 0 / 0.5715 GB, free: 7.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.6149, allocations: 27.94 kB / 0.5715 GB, free: 7.32 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.001169/0.6161, allocations: 414.8 kB / 0.5719 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.6167, allocations: 107.8 kB / 0.572 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6167, allocations: 0 / 0.572 GB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.6169, allocations: 51.91 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.6173, allocations: 15.92 kB / 0.572 GB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.618, allocations: 297.5 kB / 0.5723 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6183, allocations: 0.7082 MB / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.6184, allocations: 15.44 kB / 0.573 GB, free: 5.77 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6184, allocations: 4 kB / 0.573 GB, free: 5.766 MB / 394.7 MB Notification: Performance of Templates: time 0.005112/0.6235, allocations: 1.732 MB / 0.5747 GB, free: 4.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches