Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009247/0.0009247, 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.534/1.534, allocations: 205.4 MB / 223.5 MB, free: 8.953 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.0008454/0.0008458, allocations: 99.27 kB / 271.9 MB, free: 8.254 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.4002/0.4002, allocations: 43.56 MB / 363.8 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005083, allocations: 15.98 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4883, allocations: 86.47 MB / 0.5644 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4886, allocations: 71.97 kB / 0.5644 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.4992, allocations: 4.223 MB / 0.5686 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4993, allocations: 0 / 0.5686 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.4993, allocations: 3.938 kB / 0.5686 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004926/0.4998, allocations: 410.7 kB / 0.569 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4999, allocations: 8.031 kB / 0.569 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.4999, allocations: 16.73 kB / 0.569 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.5002, allocations: 216 kB / 0.5692 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5002, allocations: 3.812 kB / 0.5692 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5002, allocations: 12.36 kB / 0.5692 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5004, allocations: 58.23 kB / 0.5693 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5004, allocations: 4.094 kB / 0.5693 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5004, allocations: 7.938 kB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5005, allocations: 4 kB / 0.5693 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.5006, allocations: 31.97 kB / 0.5693 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.501, allocations: 320.7 kB / 0.5696 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.5012, allocations: 50.56 kB / 0.5697 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.5012, allocations: 24.97 kB / 0.5697 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5013, allocations: 0 / 0.5697 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5013, allocations: 34.78 kB / 0.5697 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.5013, allocations: 3.938 kB / 0.5697 GB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006593/0.502, allocations: 193.2 kB / 0.5699 GB, free: 10.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.502, allocations: 55.34 kB / 0.57 GB, free: 9.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.5023, allocations: 227.3 kB / 0.5702 GB, free: 9.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5023, allocations: 29.7 kB / 0.5702 GB, free: 9.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.5024, allocations: 104.1 kB / 0.5703 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.5024, allocations: 30.83 kB / 0.5703 GB, free: 9.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.5024, allocations: 0 / 0.5703 GB, free: 9.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5025, allocations: 334.8 kB / 0.5706 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.5026, allocations: 27.97 kB / 0.5707 GB, free: 9.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.5027, allocations: 35.97 kB / 0.5707 GB, free: 9.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.5028, allocations: 65.69 kB / 0.5708 GB, free: 9.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.5029, allocations: 0 / 0.5708 GB, free: 9.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002017/0.5031, allocations: 114.3 kB / 0.5709 GB, free: 8.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5031, allocations: 4 kB / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5031, allocations: 0 / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5031, allocations: 0 / 0.5709 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.5032, allocations: 19.98 kB / 0.5709 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5032, allocations: 4 kB / 0.5709 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.5033, allocations: 7.984 kB / 0.5709 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5033, allocations: 4 kB / 0.5709 GB, free: 8.922 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 (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.000107/0.5034, allocations: 130.3 kB / 0.571 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.5035, allocations: 19.8 kB / 0.5711 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.5037, allocations: 135.2 kB / 0.5712 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5038, allocations: 8 kB / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5038, allocations: 0 / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5038, allocations: 0 / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.5043, allocations: 418.4 kB / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5043, allocations: 0.875 kB / 0.5716 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.5044, allocations: 23.94 kB / 0.5716 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5044, allocations: 3.984 kB / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5044, allocations: 0 / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5044, allocations: 3.938 kB / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5044, allocations: 0 / 0.5716 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.5047, allocations: 215.3 kB / 0.5718 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.5047, allocations: 89.39 kB / 0.5719 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.5048, allocations: 4 kB / 0.5719 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.5049, allocations: 19.92 kB / 0.5719 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.5049, allocations: 4 kB / 0.5719 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.5049, allocations: 0 / 0.5719 GB, free: 7.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5051, allocations: 175.2 kB / 0.5721 GB, free: 7.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.023e-06/0.5051, allocations: 4 kB / 0.5721 GB, free: 7.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.5054, allocations: 27.92 kB / 0.5721 GB, free: 7.566 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 (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.0009573/0.5063, allocations: 410.9 kB / 0.5725 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.5065, allocations: 67.95 kB / 0.5726 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5066, allocations: 4 kB / 0.5726 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.5066, allocations: 39.91 kB / 0.5726 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.507, allocations: 23.92 kB / 0.5727 GB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.5075, allocations: 318.4 kB / 0.573 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5078, allocations: 0.7082 MB / 0.5737 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.5078, allocations: 15.44 kB / 0.5737 GB, free: 6.043 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5078, allocations: 0 / 0.5737 GB, free: 6.043 MB / 394.7 MB Notification: Performance of Templates: time 0.003422/0.5113, allocations: 1.756 MB / 0.5754 GB, free: 4.293 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches