Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,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.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,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.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001915/0.001915, allocations: 186.1 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.912/1.912, 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.001111/0.001111, allocations: 90.05 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.4944/0.4944, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004432, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6296, allocations: 86.61 MB / 0.5633 GB, free: 132 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6299, allocations: 71.97 kB / 0.5634 GB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.6478, allocations: 4.276 MB / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6478, allocations: 0 / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.6478, allocations: 4 kB / 0.5676 GB, free: 11.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005897/0.6484, allocations: 426.4 kB / 0.568 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6485, allocations: 8.562 kB / 0.568 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.6486, allocations: 16.56 kB / 0.568 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.6489, allocations: 206.3 kB / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6489, allocations: 7.938 kB / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.6489, allocations: 4 kB / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.6492, allocations: 79.27 kB / 0.5683 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6492, allocations: 4 kB / 0.5683 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6492, allocations: 7.984 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6493, allocations: 4 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.6495, allocations: 44.94 kB / 0.5683 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.6501, allocations: 409 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.6505, allocations: 89.38 kB / 0.5688 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.6506, allocations: 4.078 kB / 0.5688 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6506, allocations: 38.56 kB / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.6506, allocations: 0 / 0.5688 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001115/0.6518, allocations: 261.2 kB / 0.5691 GB, free: 10.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.6518, allocations: 81.11 kB / 0.5692 GB, free: 9.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.6522, allocations: 210.4 kB / 0.5694 GB, free: 9.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.6522, allocations: 25.7 kB / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.6523, allocations: 170.5 kB / 0.5696 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.6524, allocations: 27.56 kB / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.6524, allocations: 0 / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6525, allocations: 318.8 kB / 0.5699 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.6527, allocations: 39.92 kB / 0.5699 GB, free: 9.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6529, allocations: 49.69 kB / 0.57 GB, free: 9.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.6531, allocations: 39.98 kB / 0.57 GB, free: 9.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6531, allocations: 4 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004369/0.6535, allocations: 125.6 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6536, allocations: 8 kB / 0.5701 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6536, allocations: 0 / 0.5701 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6536, allocations: 3.984 kB / 0.5701 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.6538, allocations: 23.98 kB / 0.5702 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6538, allocations: 7.953 kB / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.6539, allocations: 7.984 kB / 0.5702 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.654, allocations: 8 kB / 0.5702 GB, free: 8.883 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001449/0.6541, allocations: 133.8 kB / 0.5703 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.6542, allocations: 7.906 kB / 0.5703 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.6547, allocations: 154.8 kB / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6547, allocations: 4 kB / 0.5705 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.6548, allocations: 4.25 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6548, allocations: 3.953 kB / 0.5705 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.6558, allocations: 0.5414 MB / 0.571 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6559, allocations: 0 / 0.571 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.656, allocations: 23.98 kB / 0.571 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.656, allocations: 0 / 0.571 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6561, allocations: 7.953 kB / 0.571 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6561, allocations: 3.984 kB / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.6561, allocations: 8.75 kB / 0.5711 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.6566, allocations: 334.8 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.6567, allocations: 97 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.6568, allocations: 0 / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.6569, allocations: 11.98 kB / 0.5715 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.657, allocations: 8 kB / 0.5715 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.657, allocations: 4 kB / 0.5715 GB, free: 7.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.6573, allocations: 166.5 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6573, allocations: 4 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000411/0.6577, allocations: 27.94 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001173/0.6589, allocations: 418.7 kB / 0.5721 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.6593, allocations: 91.88 kB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6593, allocations: 4 kB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.6596, allocations: 51.91 kB / 0.5722 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.6599, allocations: 15.95 kB / 0.5722 GB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.6607, allocations: 356.6 kB / 0.5726 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.6611, allocations: 0.716 MB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.6612, allocations: 23.42 kB / 0.5733 GB, free: 5.605 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6612, allocations: 4 kB / 0.5733 GB, free: 5.602 MB / 394.7 MB Notification: Performance of Templates: time 0.005228/0.6665, allocations: 1.873 MB / 0.5751 GB, free: 3.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches