Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009721/0.0009725, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.529/1.529, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0008809/0.0008805, allocations: 86.42 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.3549/0.3549, allocations: 43.57 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003734, allocations: 19.98 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 58.85 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4892, allocations: 86.53 MB / 0.5644 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4895, allocations: 75.09 kB / 0.5645 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009996/0.4995, allocations: 3.95 MB / 0.5684 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4996, allocations: 0 / 0.5684 GB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.619e-06/0.4996, allocations: 0 / 0.5684 GB, free: 11.74 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.0004237/0.5, allocations: 407.6 kB / 0.5687 GB, free: 11.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5001, allocations: 12.02 kB / 0.5688 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.5001, allocations: 14.66 kB / 0.5688 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.5004, allocations: 208 kB / 0.569 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5004, allocations: 4.375 kB / 0.569 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.5004, allocations: 384 / 0.569 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5005, allocations: 50.25 kB / 0.569 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5006, allocations: 4.188 kB / 0.569 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5006, allocations: 3.938 kB / 0.569 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5006, allocations: 4 kB / 0.569 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.5007, allocations: 27.97 kB / 0.5691 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.5011, allocations: 296.8 kB / 0.5693 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.5013, allocations: 50.5 kB / 0.5694 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.5014, allocations: 20.94 kB / 0.5694 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.5014, allocations: 3.984 kB / 0.5694 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.5014, allocations: 30.56 kB / 0.5694 GB, free: 10.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5014, allocations: 4 kB / 0.5694 GB, free: 10.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.502, allocations: 165.4 kB / 0.5696 GB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.502, allocations: 59.41 kB / 0.5697 GB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.5022, allocations: 194.2 kB / 0.5698 GB, free: 10.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5023, allocations: 25.7 kB / 0.5699 GB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.5023, allocations: 112 kB / 0.57 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.5024, allocations: 7.812 kB / 0.57 GB, free: 9.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5024, allocations: 3.938 kB / 0.57 GB, free: 9.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5025, allocations: 334.7 kB / 0.5703 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.5026, allocations: 23.98 kB / 0.5703 GB, free: 9.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.5026, allocations: 28.86 kB / 0.5704 GB, free: 9.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5028, allocations: 53.02 kB / 0.5704 GB, free: 9.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5028, allocations: 0 / 0.5704 GB, free: 9.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.503, allocations: 105.6 kB / 0.5705 GB, free: 9.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.503, allocations: 4 kB / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.503, allocations: 0 / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5031, allocations: 0 / 0.5705 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.5031, allocations: 19.92 kB / 0.5705 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5031, allocations: 0 / 0.5705 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.5032, allocations: 12 kB / 0.5705 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5032, allocations: 4 kB / 0.5705 GB, free: 9.285 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 9.851e-05/0.5033, allocations: 137.7 kB / 0.5707 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.5033, allocations: 12.66 kB / 0.5707 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.5036, allocations: 113.9 kB / 0.5708 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5036, allocations: 0 / 0.5708 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5036, allocations: 0 / 0.5708 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5036, allocations: 0 / 0.5708 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.504, allocations: 386.4 kB / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5041, allocations: 0 / 0.5712 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.5041, allocations: 15.98 kB / 0.5712 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5041, allocations: 3.938 kB / 0.5712 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.5041, allocations: 0 / 0.5712 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5041, allocations: 0 / 0.5712 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5042, allocations: 4 kB / 0.5712 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.5044, allocations: 199.3 kB / 0.5714 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.5045, allocations: 89.02 kB / 0.5715 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5045, allocations: 256 / 0.5715 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.5046, allocations: 19.98 kB / 0.5715 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5046, allocations: 3.938 kB / 0.5715 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.5046, allocations: 4 kB / 0.5715 GB, free: 8.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.5048, allocations: 159.8 kB / 0.5716 GB, free: 8.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5048, allocations: 0 / 0.5716 GB, free: 8.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.505, allocations: 23.94 kB / 0.5717 GB, free: 8.039 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.0008925/0.5059, allocations: 407.8 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.5061, allocations: 59.91 kB / 0.5721 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5061, allocations: 0 / 0.5721 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.5062, allocations: 31.98 kB / 0.5721 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5065, allocations: 15.98 kB / 0.5722 GB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.507, allocations: 281.2 kB / 0.5724 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.5073, allocations: 0.7004 MB / 0.5731 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.5073, allocations: 15.44 kB / 0.5731 GB, free: 6.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5073, allocations: 0 / 0.5731 GB, free: 6.59 MB / 394.7 MB Notification: Performance of Templates: time 0.003028/0.5104, allocations: 1.565 MB / 0.5747 GB, free: 5.031 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches