Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002398/0.002397, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001464/0.001464, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3348/0.3348, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.287e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1664, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.6466, allocations: 87.84 MB / 0.5586 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.6469, allocations: 78.05 kB / 0.5587 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02475/0.6717, allocations: 5.762 MB / 0.5643 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6718, allocations: 3.938 kB / 0.5643 GB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.6718, allocations: 4 kB / 0.5643 GB, free: 11.14 MB / 378.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.0005431/0.6723, allocations: 392.4 kB / 0.5647 GB, free: 10.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6724, allocations: 12.03 kB / 0.5647 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.6725, allocations: 7.906 kB / 0.5647 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.6729, allocations: 208.8 kB / 0.5649 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6729, allocations: 7.312 kB / 0.5649 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.6729, allocations: 0 / 0.5649 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.6731, allocations: 70.45 kB / 0.565 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6732, allocations: 3.984 kB / 0.565 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.6732, allocations: 3.375 kB / 0.565 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6732, allocations: 4 kB / 0.565 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.6733, allocations: 15.94 kB / 0.565 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.6738, allocations: 288.1 kB / 0.5653 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.6739, allocations: 56.75 kB / 0.5653 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.674, allocations: 17.86 kB / 0.5653 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.674, allocations: 4 kB / 0.5653 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.6742, allocations: 69.39 kB / 0.5654 GB, free: 9.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.907e-06/0.6742, allocations: 0 / 0.5654 GB, free: 9.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005798/0.6748, allocations: 157.7 kB / 0.5656 GB, free: 9.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.6749, allocations: 81.11 kB / 0.5656 GB, free: 9.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.6751, allocations: 142 kB / 0.5658 GB, free: 9.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.6751, allocations: 25.7 kB / 0.5658 GB, free: 9.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.6752, allocations: 161.2 kB / 0.5659 GB, free: 9.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.6753, allocations: 22.97 kB / 0.566 GB, free: 9.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.6753, allocations: 7.625 kB / 0.566 GB, free: 9.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6754, allocations: 314.8 kB / 0.5663 GB, free: 9.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.6755, allocations: 17.81 kB / 0.5663 GB, free: 9.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.6756, allocations: 44.45 kB / 0.5663 GB, free: 8.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.6757, allocations: 22.98 kB / 0.5664 GB, free: 8.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6757, allocations: 4.031 kB / 0.5664 GB, free: 8.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.676, allocations: 90.75 kB / 0.5664 GB, free: 8.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.676, allocations: 11.95 kB / 0.5665 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.676, allocations: 3.984 kB / 0.5665 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.676, allocations: 0 / 0.5665 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6762, allocations: 15.94 kB / 0.5665 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6762, allocations: 4 kB / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.6763, allocations: 0 / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.6763, allocations: 10.92 kB / 0.5665 GB, free: 8.832 MB / 378.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 () * 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 8.887e-05/0.6764, allocations: 114.1 kB / 0.5666 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.6765, allocations: 7.906 kB / 0.5666 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.6768, allocations: 122.1 kB / 0.5667 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6768, allocations: 4 kB / 0.5667 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6769, allocations: 0 / 0.5667 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6769, allocations: 0 / 0.5667 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.6775, allocations: 394.2 kB / 0.5671 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6775, allocations: 11.98 kB / 0.5671 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.6776, allocations: 11.5 kB / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6776, allocations: 0 / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.6776, allocations: 4 kB / 0.5671 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6776, allocations: 3.938 kB / 0.5671 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6776, allocations: 0 / 0.5671 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.678, allocations: 222.1 kB / 0.5673 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.678, allocations: 89 kB / 0.5674 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.6781, allocations: 3.062 kB / 0.5674 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6782, allocations: 11.92 kB / 0.5674 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.6783, allocations: 4 kB / 0.5674 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.6783, allocations: 3.188 kB / 0.5674 GB, free: 7.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.6784, allocations: 121.2 kB / 0.5676 GB, free: 7.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6785, allocations: 0 / 0.5676 GB, free: 7.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.6788, allocations: 43.16 kB / 0.5676 GB, free: 7.684 MB / 378.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) * 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.001338/0.6802, allocations: 468.1 kB / 0.5681 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.6804, allocations: 60.36 kB / 0.5681 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6804, allocations: 0 / 0.5681 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.6806, allocations: 30.62 kB / 0.5681 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.6809, allocations: 38.12 kB / 0.5682 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.6814, allocations: 157.5 kB / 0.5683 GB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.6817, allocations: 0.7006 MB / 0.569 GB, free: 6.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.6818, allocations: 19.42 kB / 0.569 GB, free: 6.266 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6818, allocations: 4 kB / 0.569 GB, free: 6.262 MB / 378.7 MB Notification: Performance of Templates: time 0.005673/0.6875, allocations: 2.063 MB / 0.571 GB, free: 4.211 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches