Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001511, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001116/0.001116, allocations: 89.78 kB / 270.9 MB, free: 8.379 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.5018/0.5018, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6142, allocations: 87.68 MB / 0.5644 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6146, allocations: 73.34 kB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.6381, allocations: 5.296 MB / 0.5696 GB, free: 9.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6381, allocations: 0 / 0.5696 GB, free: 9.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.6382, allocations: 0 / 0.5696 GB, free: 9.707 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.0006438/0.6388, allocations: 418.4 kB / 0.57 GB, free: 9.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6389, allocations: 16.02 kB / 0.57 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.6389, allocations: 11.34 kB / 0.57 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.6393, allocations: 217.8 kB / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.6393, allocations: 4 kB / 0.5702 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6394, allocations: 0 / 0.5702 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6396, allocations: 58.53 kB / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.6396, allocations: 0 / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6396, allocations: 0 / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6396, allocations: 5.031 kB / 0.5703 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.6398, allocations: 27.92 kB / 0.5703 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.6402, allocations: 300.8 kB / 0.5706 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.6405, allocations: 58.67 kB / 0.5707 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.6405, allocations: 0 / 0.5707 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.6407, allocations: 75.52 kB / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.667e-06/0.6407, allocations: 0 / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007694/0.6415, allocations: 169.2 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6416, allocations: 59.34 kB / 0.571 GB, free: 8.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.6418, allocations: 173.3 kB / 0.5711 GB, free: 7.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.6419, allocations: 25.7 kB / 0.5711 GB, free: 7.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.642, allocations: 162.6 kB / 0.5713 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.642, allocations: 31.62 kB / 0.5713 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.642, allocations: 8 kB / 0.5713 GB, free: 7.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6422, allocations: 310.8 kB / 0.5716 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.6423, allocations: 23.98 kB / 0.5717 GB, free: 7.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.6424, allocations: 37.7 kB / 0.5717 GB, free: 7.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6425, allocations: 20 kB / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6425, allocations: 0 / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002931/0.6428, allocations: 106.3 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6429, allocations: 4 kB / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6429, allocations: 0.75 kB / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6429, allocations: 0 / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.6431, allocations: 19.98 kB / 0.5718 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6431, allocations: 0 / 0.5718 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.6432, allocations: 7.953 kB / 0.5718 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6432, allocations: 0 / 0.5718 GB, free: 7.199 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 0.0001395/0.6433, allocations: 129.8 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.6434, allocations: 15.94 kB / 0.572 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.6438, allocations: 126.6 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6438, allocations: 0 / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6438, allocations: 0 / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6438, allocations: 0 / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.6445, allocations: 415.2 kB / 0.5725 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6445, allocations: 0 / 0.5725 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.6446, allocations: 20.02 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6446, allocations: 0 / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6446, allocations: 3.938 kB / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.6447, allocations: 7.953 kB / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6447, allocations: 0 / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.645, allocations: 218 kB / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.6451, allocations: 93 kB / 0.5728 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.6452, allocations: 11.95 kB / 0.5728 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6453, allocations: 384 / 0.5728 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.6454, allocations: 7.984 kB / 0.5728 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6454, allocations: 4 kB / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.6456, allocations: 144.8 kB / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6456, allocations: 0 / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000366/0.646, allocations: 35.94 kB / 0.573 GB, free: 5.871 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.001407/0.6474, allocations: 490.4 kB / 0.5735 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.6478, allocations: 51.98 kB / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.6478, allocations: 0 / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.6479, allocations: 39.98 kB / 0.5736 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.6483, allocations: 23.97 kB / 0.5736 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.649, allocations: 278.6 kB / 0.5739 GB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.6493, allocations: 0.7121 MB / 0.5746 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.6494, allocations: 23.42 kB / 0.5746 GB, free: 4.309 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6494, allocations: 0 / 0.5746 GB, free: 4.309 MB / 394.7 MB Notification: Performance of Templates: time 0.005305/0.6547, allocations: 1.918 MB / 0.5765 GB, free: 2.395 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches