Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.001331, allocations: 181.1 kB / 17.41 MB, free: 4.289 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.602/1.602, 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.0007642/0.0007643, allocations: 75.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.343/0.343, allocations: 43.57 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 15.98 kB / 432.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 58.84 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4541, allocations: 87.87 MB / 0.5657 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4543, allocations: 76.64 kB / 0.5658 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.4744, allocations: 7.533 MB / 0.5732 GB, free: 6.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4745, allocations: 0 / 0.5732 GB, free: 6.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.4745, allocations: 7.938 kB / 0.5732 GB, free: 6.957 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000714/0.4752, allocations: 0.5062 MB / 0.5737 GB, free: 6.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4753, allocations: 12.03 kB / 0.5737 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.4753, allocations: 20.66 kB / 0.5737 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.4758, allocations: 295.5 kB / 0.574 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4758, allocations: 384 / 0.574 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4759, allocations: 12.28 kB / 0.574 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.4761, allocations: 103.8 kB / 0.5741 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4761, allocations: 192 / 0.5741 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4761, allocations: 3.938 kB / 0.5741 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4761, allocations: 4 kB / 0.5741 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.4763, allocations: 43.91 kB / 0.5741 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.4768, allocations: 453 kB / 0.5746 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.4771, allocations: 129.2 kB / 0.5747 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4772, allocations: 41.7 kB / 0.5747 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.4772, allocations: 0 / 0.5747 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.4774, allocations: 125 kB / 0.5749 GB, free: 5.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.4775, allocations: 0 / 0.5749 GB, free: 5.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008798/0.4783, allocations: 360 kB / 0.5752 GB, free: 4.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4784, allocations: 81.11 kB / 0.5753 GB, free: 4.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.4788, allocations: 355 kB / 0.5756 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4788, allocations: 29.7 kB / 0.5756 GB, free: 4.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.4789, allocations: 132.4 kB / 0.5758 GB, free: 4.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.479, allocations: 55.33 kB / 0.5758 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.479, allocations: 8 kB / 0.5758 GB, free: 3.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4791, allocations: 342.8 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4792, allocations: 39.98 kB / 0.5762 GB, free: 3.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.4794, allocations: 77.42 kB / 0.5763 GB, free: 3.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.4796, allocations: 127.3 kB / 0.5764 GB, free: 3.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4796, allocations: 0 / 0.5764 GB, free: 3.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003332/0.4799, allocations: 182 kB / 0.5766 GB, free: 3.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.48, allocations: 4 kB / 0.5766 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.48, allocations: 7.938 kB / 0.5766 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.48, allocations: 0 / 0.5766 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4801, allocations: 31.98 kB / 0.5766 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4801, allocations: 64 / 0.5766 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.4802, allocations: 19.89 kB / 0.5766 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4803, allocations: 8 kB / 0.5766 GB, free: 3.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001419/0.4804, allocations: 162.2 kB / 0.5768 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.4805, allocations: 31.69 kB / 0.5768 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.4809, allocations: 219.5 kB / 0.577 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4809, allocations: 4 kB / 0.577 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4809, allocations: 4 kB / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4809, allocations: 0 / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/0.4817, allocations: 0.6631 MB / 0.5777 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4817, allocations: 0 / 0.5777 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.4818, allocations: 20 kB / 0.5777 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4818, allocations: 4.062 kB / 0.5777 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.4818, allocations: 11.92 kB / 0.5777 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4819, allocations: 4 kB / 0.5777 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4819, allocations: 0 / 0.5777 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.4823, allocations: 372.8 kB / 0.5781 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.4824, allocations: 116.8 kB / 0.5782 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.4824, allocations: 15.92 kB / 0.5782 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4826, allocations: 8 kB / 0.5782 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4826, allocations: 11.98 kB / 0.5782 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.4826, allocations: 7.984 kB / 0.5782 GB, free: 1.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.4829, allocations: 261.9 kB / 0.5785 GB, free: 1.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4829, allocations: 0 / 0.5785 GB, free: 1.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.4833, allocations: 55.98 kB / 0.5785 GB, free: 1.078 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001014/0.4843, allocations: 492.8 kB / 0.579 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4846, allocations: 120 kB / 0.5791 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4846, allocations: 0 / 0.5791 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4847, allocations: 68.31 kB / 0.5792 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.4853, allocations: 61.48 kB / 0.5792 GB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.4861, allocations: 0.5248 MB / 0.5798 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4864, allocations: 0.7479 MB / 0.5805 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.4865, allocations: 31.42 kB / 0.5805 GB, free: 15.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4865, allocations: 0 / 0.5805 GB, free: 15.09 MB / 410.7 MB Notification: Performance of Templates: time 0.005276/0.4918, allocations: 3.227 MB / 0.5837 GB, free: 11.87 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches