Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009637/0.0009638, allocations: 194.6 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007686/0.0007687, allocations: 97.94 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3774/0.3774, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.000309, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3742, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.4947, allocations: 90.66 MB / 0.605 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.495, allocations: 75.97 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.5129, allocations: 6.85 MB / 0.6118 GB, free: 7.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5129, allocations: 0 / 0.6118 GB, free: 7.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5129, allocations: 4 kB / 0.6118 GB, free: 7.773 MB / 426.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.0005748/0.5135, allocations: 478.6 kB / 0.6122 GB, free: 7.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5136, allocations: 8.031 kB / 0.6122 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.5136, allocations: 16.75 kB / 0.6123 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5139, allocations: 240.9 kB / 0.6125 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.514, allocations: 8.375 kB / 0.6125 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.514, allocations: 384 / 0.6125 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.5141, allocations: 62.17 kB / 0.6126 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5142, allocations: 192 / 0.6126 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5142, allocations: 3.938 kB / 0.6126 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5142, allocations: 3.984 kB / 0.6126 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.5143, allocations: 23.98 kB / 0.6126 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.5147, allocations: 308.9 kB / 0.6129 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.5149, allocations: 66.56 kB / 0.6129 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.5149, allocations: 20.84 kB / 0.613 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.5149, allocations: 0 / 0.613 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.5151, allocations: 67.39 kB / 0.613 GB, free: 6.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.807e-06/0.5151, allocations: 4 kB / 0.613 GB, free: 6.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005509/0.5156, allocations: 193.3 kB / 0.6132 GB, free: 6.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.5157, allocations: 55.41 kB / 0.6133 GB, free: 6.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.516, allocations: 278.7 kB / 0.6135 GB, free: 5.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.516, allocations: 29.7 kB / 0.6136 GB, free: 5.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.5161, allocations: 112.1 kB / 0.6137 GB, free: 5.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5161, allocations: 27.64 kB / 0.6137 GB, free: 5.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5161, allocations: 4 kB / 0.6137 GB, free: 5.598 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5163, allocations: 338.8 kB / 0.614 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.5163, allocations: 19.92 kB / 0.614 GB, free: 5.238 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-05/0.5164, allocations: 41.64 kB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5165, allocations: 57.7 kB / 0.6141 GB, free: 5.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5165, allocations: 0 / 0.6141 GB, free: 5.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.5167, allocations: 113.5 kB / 0.6142 GB, free: 5.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5167, allocations: 8.031 kB / 0.6143 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5167, allocations: 4.188 kB / 0.6143 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5168, allocations: 0 / 0.6143 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.5168, allocations: 19.94 kB / 0.6143 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5169, allocations: 0 / 0.6143 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.5169, allocations: 7.984 kB / 0.6143 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.5169, allocations: 0 / 0.6143 GB, free: 4.973 MB / 426.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.0001134/0.517, allocations: 143.7 kB / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.5171, allocations: 15.81 kB / 0.6144 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.5173, allocations: 131 kB / 0.6146 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5173, allocations: 0 / 0.6146 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5173, allocations: 4 kB / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5174, allocations: 0 / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.5178, allocations: 451.2 kB / 0.615 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5179, allocations: 0 / 0.615 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.5179, allocations: 8 kB / 0.615 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5179, allocations: 8.031 kB / 0.615 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5179, allocations: 4 kB / 0.615 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5179, allocations: 0 / 0.615 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5179, allocations: 7.922 kB / 0.615 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.5182, allocations: 212.1 kB / 0.6152 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.5183, allocations: 104.9 kB / 0.6153 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.5183, allocations: 0 / 0.6153 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.5184, allocations: 8 kB / 0.6153 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.5184, allocations: 15.92 kB / 0.6153 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5184, allocations: 4 kB / 0.6153 GB, free: 3.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5186, allocations: 208.6 kB / 0.6155 GB, free: 3.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5186, allocations: 0 / 0.6155 GB, free: 3.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.5189, allocations: 39.92 kB / 0.6156 GB, free: 3.527 MB / 426.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.0009825/0.5199, allocations: 475.9 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5201, allocations: 67.89 kB / 0.6161 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5201, allocations: 0 / 0.6161 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.5202, allocations: 31.98 kB / 0.6161 GB, free: 3.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5205, allocations: 28.11 kB / 0.6162 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.5211, allocations: 380.4 kB / 0.6165 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5214, allocations: 0.7199 MB / 0.6172 GB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.5214, allocations: 19.44 kB / 0.6172 GB, free: 1.934 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5214, allocations: 0 / 0.6172 GB, free: 1.934 MB / 426.7 MB Notification: Performance of Templates: time 0.003647/0.5251, allocations: 2.227 MB / 0.6194 GB, free: 15.71 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches