Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 181.2 kB / 16.4 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 2.001/2.001, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00115/0.00115, allocations: 99 kB / 270.9 MB, free: 8.367 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.5228/0.5228, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006408, allocations: 20 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1283, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5779, allocations: 87.71 MB / 0.5644 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5783, allocations: 71.97 kB / 0.5645 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.6018, allocations: 5.377 MB / 0.5697 GB, free: 9.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6018, allocations: 0 / 0.5697 GB, free: 9.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.6018, allocations: 0 / 0.5697 GB, free: 9.566 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.0006137/0.6025, allocations: 422.5 kB / 0.5701 GB, free: 9.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6025, allocations: 12.02 kB / 0.5701 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.6026, allocations: 19.34 kB / 0.5701 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.6029, allocations: 209.8 kB / 0.5703 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.603, allocations: 8 kB / 0.5704 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.603, allocations: 0 / 0.5704 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.6032, allocations: 53.67 kB / 0.5704 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6032, allocations: 3.375 kB / 0.5704 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.6033, allocations: 11.92 kB / 0.5704 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6033, allocations: 1.031 kB / 0.5704 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.6034, allocations: 23.97 kB / 0.5704 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.6039, allocations: 296.8 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.6041, allocations: 58.67 kB / 0.5708 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.6042, allocations: 3.984 kB / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.6044, allocations: 79.45 kB / 0.5709 GB, free: 8.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.6044, allocations: 0 / 0.5709 GB, free: 8.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007613/0.6052, allocations: 169.3 kB / 0.571 GB, free: 8.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.6052, allocations: 63.3 kB / 0.5711 GB, free: 7.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.6055, allocations: 165.4 kB / 0.5712 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6055, allocations: 33.7 kB / 0.5713 GB, free: 7.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.6056, allocations: 158.6 kB / 0.5714 GB, free: 7.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.6057, allocations: 27.64 kB / 0.5714 GB, free: 7.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-06/0.6057, allocations: 0 / 0.5714 GB, free: 7.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6058, allocations: 318.8 kB / 0.5718 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.6059, allocations: 19.98 kB / 0.5718 GB, free: 7.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.606, allocations: 37.7 kB / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.6061, allocations: 24 kB / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6062, allocations: 0 / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002887/0.6065, allocations: 101.5 kB / 0.5719 GB, free: 7.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6065, allocations: 8.031 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6065, allocations: 0 / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.6065, allocations: 0 / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.6067, allocations: 20 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6067, allocations: 4.766 kB / 0.572 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.6068, allocations: 7.953 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6068, allocations: 0 / 0.572 GB, free: 7.051 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.0001336/0.607, allocations: 129.8 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.607, allocations: 12.64 kB / 0.5721 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.6074, allocations: 126.5 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6074, allocations: 288 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6074, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6075, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.6082, allocations: 419.1 kB / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6082, allocations: 0 / 0.5726 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.6083, allocations: 19.92 kB / 0.5726 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.6083, allocations: 4.031 kB / 0.5726 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6083, allocations: 0 / 0.5726 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.6083, allocations: 7.953 kB / 0.5727 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6083, allocations: 0 / 0.5727 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.6087, allocations: 214 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.6088, allocations: 93 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6088, allocations: 11.95 kB / 0.573 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6089, allocations: 4 kB / 0.573 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.609, allocations: 8.359 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.609, allocations: 4 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.6092, allocations: 144.8 kB / 0.5731 GB, free: 5.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6092, allocations: 0 / 0.5731 GB, free: 5.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.6096, allocations: 35.94 kB / 0.5731 GB, free: 5.723 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.001331/0.6109, allocations: 482 kB / 0.5736 GB, free: 5.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.6112, allocations: 59.92 kB / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6113, allocations: 0 / 0.5737 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6114, allocations: 36.05 kB / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.6118, allocations: 27.97 kB / 0.5737 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.6124, allocations: 278.5 kB / 0.574 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.6128, allocations: 0.7082 MB / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.6129, allocations: 19.42 kB / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6129, allocations: 0 / 0.5747 GB, free: 4.164 MB / 394.7 MB Notification: Performance of Templates: time 0.005466/0.6183, allocations: 1.927 MB / 0.5766 GB, free: 2.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches