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.001445/0.001445, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.533/1.533, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007678/0.0007683, allocations: 90.34 kB / 271.9 MB, free: 8.25 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.3359/0.3359, allocations: 43.56 MB / 363.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 20 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4558, allocations: 86.49 MB / 0.5644 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.456, allocations: 79.16 kB / 0.5645 GB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008875/0.4649, allocations: 3.539 MB / 0.5679 GB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.465, allocations: 0 / 0.5679 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.465, allocations: 4 kB / 0.5679 GB, free: 12.32 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.0003847/0.4654, allocations: 386.8 kB / 0.5683 GB, free: 11.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4654, allocations: 8.031 kB / 0.5683 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.4655, allocations: 8.938 kB / 0.5683 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4657, allocations: 192.1 kB / 0.5685 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4657, allocations: 4.375 kB / 0.5685 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4657, allocations: 384 / 0.5685 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4658, allocations: 54.23 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4659, allocations: 192 / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4659, allocations: 3.938 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4659, allocations: 4 kB / 0.5686 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.466, allocations: 27.98 kB / 0.5686 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.4664, allocations: 280.9 kB / 0.5689 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.4666, allocations: 50.48 kB / 0.5689 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.4666, allocations: 20.86 kB / 0.5689 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4666, allocations: 4 kB / 0.5689 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.4667, allocations: 30.56 kB / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4667, allocations: 0 / 0.569 GB, free: 11.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005512/0.4672, allocations: 169.3 kB / 0.5691 GB, free: 10.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.4673, allocations: 55.41 kB / 0.5692 GB, free: 10.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4674, allocations: 136.6 kB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.4674, allocations: 25.7 kB / 0.5693 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.4675, allocations: 100.1 kB / 0.5694 GB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.4675, allocations: 18.91 kB / 0.5694 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.4675, allocations: 3.938 kB / 0.5694 GB, free: 10.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4677, allocations: 326.9 kB / 0.5698 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4677, allocations: 23.98 kB / 0.5698 GB, free: 10.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.4678, allocations: 23.98 kB / 0.5698 GB, free: 10.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.4679, allocations: 66.27 kB / 0.5699 GB, free: 10.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4679, allocations: 0 / 0.5699 GB, free: 10.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/0.4681, allocations: 97.56 kB / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4682, allocations: 4 kB / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4682, allocations: 0 / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4682, allocations: 288 / 0.57 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.4682, allocations: 19.92 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4683, allocations: 2.656 kB / 0.57 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.4683, allocations: 4.875 kB / 0.57 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4683, allocations: 4 kB / 0.57 GB, free: 10 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 8.621e-05/0.4684, allocations: 133.7 kB / 0.5701 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.4684, allocations: 11.89 kB / 0.5701 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.4687, allocations: 97.97 kB / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4687, allocations: 0 / 0.5702 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4687, allocations: 4.312 kB / 0.5702 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4687, allocations: 4 kB / 0.5702 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.4691, allocations: 370.4 kB / 0.5706 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4691, allocations: 0 / 0.5706 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.4692, allocations: 15.98 kB / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4692, allocations: 0 / 0.5706 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4692, allocations: 4 kB / 0.5706 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4692, allocations: 0 / 0.5706 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4692, allocations: 0 / 0.5706 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4695, allocations: 199.3 kB / 0.5708 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.4695, allocations: 89.02 kB / 0.5709 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.4695, allocations: 3.984 kB / 0.5709 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.4696, allocations: 4 kB / 0.5709 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.4696, allocations: 7.938 kB / 0.5709 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4697, allocations: 4.547 kB / 0.5709 GB, free: 8.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.4697, allocations: 109.4 kB / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4697, allocations: 0 / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.47, allocations: 19.94 kB / 0.571 GB, free: 8.844 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.0008526/0.4708, allocations: 412.3 kB / 0.5714 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.471, allocations: 63.89 kB / 0.5715 GB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4711, allocations: 0 / 0.5715 GB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.4711, allocations: 31.98 kB / 0.5715 GB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.4714, allocations: 15.98 kB / 0.5715 GB, free: 8.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.4718, allocations: 208.8 kB / 0.5717 GB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4721, allocations: 0.6936 MB / 0.5724 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.4721, allocations: 15.42 kB / 0.5724 GB, free: 7.457 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4721, allocations: 0 / 0.5724 GB, free: 7.457 MB / 394.7 MB Notification: Performance of Templates: time 0.002765/0.4749, allocations: 1.397 MB / 0.5738 GB, free: 6.062 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