Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 181.5 kB / 17.41 MB, free: 4.16 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.54/1.54, allocations: 205.4 MB / 223.6 MB, free: 8.922 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.0008232/0.0008232, allocations: 85.05 kB / 271.9 MB, free: 8.242 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.3909/0.3909, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4214, allocations: 87.73 MB / 0.5656 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4217, allocations: 71.97 kB / 0.5657 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.4358, allocations: 5.232 MB / 0.5708 GB, free: 9.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4358, allocations: 4 kB / 0.5708 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4359, allocations: 3.938 kB / 0.5708 GB, free: 9.402 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004876/0.4364, allocations: 418 kB / 0.5712 GB, free: 8.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4364, allocations: 12.03 kB / 0.5712 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.4365, allocations: 8.844 kB / 0.5712 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.4368, allocations: 212.8 kB / 0.5714 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4368, allocations: 4.375 kB / 0.5714 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4368, allocations: 4.375 kB / 0.5714 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.437, allocations: 67.03 kB / 0.5715 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.437, allocations: 192 / 0.5715 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.437, allocations: 7.875 kB / 0.5715 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.437, allocations: 0 / 0.5715 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.4371, allocations: 23.98 kB / 0.5715 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.4375, allocations: 284.9 kB / 0.5718 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.4377, allocations: 70.55 kB / 0.5719 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.4378, allocations: 24.84 kB / 0.5719 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4378, allocations: 0 / 0.5719 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.438, allocations: 71.3 kB / 0.5719 GB, free: 8.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.438, allocations: 0 / 0.5719 GB, free: 8.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.4385, allocations: 169.3 kB / 0.5721 GB, free: 7.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4386, allocations: 55.41 kB / 0.5722 GB, free: 7.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.4388, allocations: 178.2 kB / 0.5723 GB, free: 7.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4388, allocations: 25.7 kB / 0.5724 GB, free: 7.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.4388, allocations: 96.14 kB / 0.5724 GB, free: 7.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4389, allocations: 23.7 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4389, allocations: 4 kB / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.439, allocations: 326.8 kB / 0.5728 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.4391, allocations: 23.98 kB / 0.5728 GB, free: 7.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.4392, allocations: 41.64 kB / 0.5728 GB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4393, allocations: 57.7 kB / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4393, allocations: 0 / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.4395, allocations: 105.4 kB / 0.573 GB, free: 6.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4395, allocations: 8 kB / 0.573 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4395, allocations: 4.031 kB / 0.573 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4395, allocations: 0.75 kB / 0.573 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.4396, allocations: 15.98 kB / 0.573 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4397, allocations: 4 kB / 0.573 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.4397, allocations: 0 / 0.573 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4397, allocations: 4 kB / 0.573 GB, free: 6.875 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 9.724e-05/0.4398, allocations: 140.2 kB / 0.5732 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.4398, allocations: 7.906 kB / 0.5732 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.4401, allocations: 130.6 kB / 0.5733 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4401, allocations: 0 / 0.5733 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4401, allocations: 0 / 0.5733 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4401, allocations: 4 kB / 0.5733 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.4406, allocations: 415.1 kB / 0.5737 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4406, allocations: 3.938 kB / 0.5737 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.4407, allocations: 11.98 kB / 0.5737 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.4407, allocations: 12.02 kB / 0.5737 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4407, allocations: 0 / 0.5737 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4407, allocations: 0 / 0.5737 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4407, allocations: 3.938 kB / 0.5737 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.441, allocations: 208.2 kB / 0.5739 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.4411, allocations: 93.02 kB / 0.574 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.4411, allocations: 384 / 0.574 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.4412, allocations: 11.98 kB / 0.574 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4412, allocations: 11.94 kB / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4412, allocations: 4 kB / 0.574 GB, free: 5.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4413, allocations: 138.7 kB / 0.5742 GB, free: 5.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4413, allocations: 0 / 0.5742 GB, free: 5.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.4416, allocations: 28 kB / 0.5742 GB, free: 5.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009795/0.4426, allocations: 474 kB / 0.5747 GB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.4428, allocations: 59.97 kB / 0.5747 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4428, allocations: 0 / 0.5747 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.4429, allocations: 35.92 kB / 0.5747 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4432, allocations: 28.09 kB / 0.5748 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.4437, allocations: 262.3 kB / 0.575 GB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.444, allocations: 0.708 MB / 0.5757 GB, free: 4.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.444, allocations: 19.38 kB / 0.5757 GB, free: 4.039 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.444, allocations: 0 / 0.5757 GB, free: 4.039 MB / 394.7 MB Notification: Performance of Templates: time 0.003619/0.4477, allocations: 1.883 MB / 0.5776 GB, free: 2.168 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches