Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001061/0.001061, allocations: 96.41 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.5008/0.5008, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005128, allocations: 12 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5782, allocations: 86.45 MB / 0.5632 GB, free: 312 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5784, allocations: 67.97 kB / 0.5632 GB, free: 244 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.5935, allocations: 3.546 MB / 0.5667 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5936, allocations: 0 / 0.5667 GB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.5936, allocations: 0 / 0.5667 GB, free: 12.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004985/0.5941, allocations: 395.6 kB / 0.5671 GB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5942, allocations: 12.02 kB / 0.5671 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.5942, allocations: 4 kB / 0.5671 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.5945, allocations: 190.4 kB / 0.5673 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5945, allocations: 4 kB / 0.5673 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.5945, allocations: 4 kB / 0.5673 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.5947, allocations: 57.66 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5948, allocations: 1.125 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5948, allocations: 0 / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5948, allocations: 0 / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.595, allocations: 36.95 kB / 0.5674 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.5954, allocations: 280.8 kB / 0.5676 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.5957, allocations: 50.55 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.5958, allocations: 3.984 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.5958, allocations: 38.5 kB / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5958, allocations: 0 / 0.5677 GB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008722/0.5967, allocations: 165.4 kB / 0.5679 GB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5968, allocations: 55.39 kB / 0.5679 GB, free: 11.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5969, allocations: 125.2 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.597, allocations: 32.61 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.5971, allocations: 162.5 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.5971, allocations: 15.72 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5971, allocations: 0 / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5973, allocations: 318.8 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.5974, allocations: 24.11 kB / 0.5686 GB, free: 10.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.5975, allocations: 27.97 kB / 0.5686 GB, free: 10.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.5977, allocations: 23.98 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5977, allocations: 8 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003129/0.598, allocations: 81.67 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5981, allocations: 4 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5981, allocations: 0 / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5981, allocations: 4 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5982, allocations: 15.92 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5983, allocations: 8 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.5983, allocations: 11.95 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.5984, allocations: 3.984 kB / 0.5688 GB, free: 10.41 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 (5): * Single equations (assignments): 5 * 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.000118/0.5985, allocations: 117.8 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.5985, allocations: 7.906 kB / 0.5689 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.5989, allocations: 106 kB / 0.569 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5989, allocations: 3.984 kB / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.599, allocations: 0 / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.599, allocations: 0 / 0.569 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.5996, allocations: 362.8 kB / 0.5693 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.5997, allocations: 4.062 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5998, allocations: 15.98 kB / 0.5693 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5998, allocations: 0 / 0.5693 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.5998, allocations: 0 / 0.5693 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5998, allocations: 4 kB / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5998, allocations: 3.953 kB / 0.5694 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.6002, allocations: 195.4 kB / 0.5695 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.6003, allocations: 94.03 kB / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.6003, allocations: 0 / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.6005, allocations: 4 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.6005, allocations: 7.984 kB / 0.5696 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.6006, allocations: 7.953 kB / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.6007, allocations: 110.9 kB / 0.5698 GB, free: 9.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6007, allocations: 0 / 0.5698 GB, free: 9.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000314/0.601, allocations: 20 kB / 0.5698 GB, free: 9.266 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 (5): * Single equations (assignments): 5 * 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.001134/0.6022, allocations: 414.2 kB / 0.5702 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.6025, allocations: 67.89 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6025, allocations: 0 / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.6027, allocations: 27.98 kB / 0.5703 GB, free: 8.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.6029, allocations: 15.98 kB / 0.5703 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.6034, allocations: 212.8 kB / 0.5705 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6038, allocations: 0.6926 MB / 0.5712 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.6038, allocations: 11.44 kB / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6038, allocations: 0 / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of Templates: time 0.004761/0.6086, allocations: 1.417 MB / 0.5725 GB, free: 6.465 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches