Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002424, allocations: 185.2 kB / 16.41 MB, free: 5.727 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.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001164/0.001164, allocations: 92.42 kB / 270.9 MB, free: 8.395 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.5215/0.5215, allocations: 43.54 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004739, allocations: 16 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5785, allocations: 87.7 MB / 0.5644 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5789, allocations: 71.97 kB / 0.5645 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02476/0.6037, allocations: 5.595 MB / 0.5699 GB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6037, allocations: 0 / 0.5699 GB, free: 9.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.6037, allocations: 0 / 0.5699 GB, free: 9.27 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.0006999/0.6044, allocations: 437.7 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/0.6045, allocations: 12.02 kB / 0.5703 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.6046, allocations: 15.34 kB / 0.5704 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.605, allocations: 218.8 kB / 0.5706 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.6051, allocations: 4 kB / 0.5706 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6051, allocations: 3.938 kB / 0.5706 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.6053, allocations: 58.47 kB / 0.5706 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6053, allocations: 0 / 0.5706 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.6054, allocations: 7.984 kB / 0.5706 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.6054, allocations: 3.938 kB / 0.5706 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.6055, allocations: 27.92 kB / 0.5707 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.606, allocations: 300.8 kB / 0.571 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.6063, allocations: 58.62 kB / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.6063, allocations: 0 / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.6066, allocations: 75.5 kB / 0.5711 GB, free: 7.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.6066, allocations: 0 / 0.5711 GB, free: 7.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007632/0.6073, allocations: 185.1 kB / 0.5713 GB, free: 7.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.6074, allocations: 55.36 kB / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.6077, allocations: 197.8 kB / 0.5715 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.6078, allocations: 29.7 kB / 0.5715 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.6078, allocations: 166.6 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.6079, allocations: 27.64 kB / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.6079, allocations: 0 / 0.5717 GB, free: 7.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.608, allocations: 318.8 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.6081, allocations: 23.94 kB / 0.572 GB, free: 6.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.6083, allocations: 37.7 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.6084, allocations: 23.98 kB / 0.5721 GB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6084, allocations: 0 / 0.5721 GB, free: 6.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002923/0.6087, allocations: 94.41 kB / 0.5722 GB, free: 6.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6087, allocations: 7.984 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6087, allocations: 0 / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6088, allocations: 8.031 kB / 0.5722 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.6089, allocations: 12 kB / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6089, allocations: 0 / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.609, allocations: 12.98 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.6091, allocations: 7.984 kB / 0.5722 GB, free: 6.68 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.0001314/0.6092, allocations: 122.9 kB / 0.5724 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.6093, allocations: 11.81 kB / 0.5724 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.6096, allocations: 131.8 kB / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6097, allocations: 4.281 kB / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6097, allocations: 0 / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6097, allocations: 0 / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.6104, allocations: 435.1 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6104, allocations: 0 / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.6105, allocations: 11.94 kB / 0.5729 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6105, allocations: 0 / 0.5729 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.6105, allocations: 7.969 kB / 0.5729 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6106, allocations: 11.94 kB / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6106, allocations: 0 / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.611, allocations: 218 kB / 0.5732 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.6111, allocations: 96.91 kB / 0.5732 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.6111, allocations: 11.95 kB / 0.5733 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6112, allocations: 4.375 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.6113, allocations: 7.984 kB / 0.5733 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6113, allocations: 4 kB / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.6116, allocations: 173.3 kB / 0.5734 GB, free: 5.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6116, allocations: 0 / 0.5734 GB, free: 5.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.612, allocations: 35.94 kB / 0.5735 GB, free: 5.309 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.001365/0.6133, allocations: 477.4 kB / 0.5739 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.6137, allocations: 63.91 kB / 0.574 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6137, allocations: 0 / 0.574 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.6139, allocations: 39.86 kB / 0.574 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.6143, allocations: 24.3 kB / 0.574 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.615, allocations: 310.5 kB / 0.5743 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6153, allocations: 0.716 MB / 0.575 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.6154, allocations: 19.44 kB / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6154, allocations: 0 / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of Templates: time 0.005694/0.6211, allocations: 2.028 MB / 0.577 GB, free: 1.703 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches