Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000855/0.000855, allocations: 174.2 kB / 16.77 MB, free: 4.805 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.706/1.706, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008182/0.0008182, allocations: 94.34 kB / 271.3 MB, free: 8.23 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.4014/0.4014, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 20 kB / 432.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 58.85 MB / 491.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.5017, allocations: 87.77 MB / 0.5657 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.502, allocations: 67.97 kB / 0.5657 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.5169, allocations: 5.395 MB / 0.571 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.517, allocations: 0.6562 kB / 0.571 GB, free: 8.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.517, allocations: 0 / 0.571 GB, free: 8.781 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.0005572/0.5175, allocations: 418.7 kB / 0.5714 GB, free: 8.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5176, allocations: 8.031 kB / 0.5714 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.5176, allocations: 8.844 kB / 0.5714 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.5179, allocations: 223 kB / 0.5716 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.518, allocations: 8.375 kB / 0.5716 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.518, allocations: 7.656 kB / 0.5717 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.5181, allocations: 54.23 kB / 0.5717 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5181, allocations: 192 / 0.5717 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5182, allocations: 7.938 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.5182, allocations: 0 / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.5183, allocations: 23.97 kB / 0.5717 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.5186, allocations: 284.9 kB / 0.572 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.5188, allocations: 74.53 kB / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.5189, allocations: 16.86 kB / 0.5721 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5189, allocations: 11.92 kB / 0.5721 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.5191, allocations: 63.39 kB / 0.5722 GB, free: 7.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5191, allocations: 4 kB / 0.5722 GB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005378/0.5196, allocations: 177.2 kB / 0.5723 GB, free: 7.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.5197, allocations: 51.41 kB / 0.5724 GB, free: 7.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.5199, allocations: 182.2 kB / 0.5726 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.5199, allocations: 29.7 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.5199, allocations: 100.1 kB / 0.5727 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.52, allocations: 27.59 kB / 0.5727 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.52, allocations: 0 / 0.5727 GB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5201, allocations: 330.8 kB / 0.573 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.5202, allocations: 23.98 kB / 0.5731 GB, free: 6.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.5203, allocations: 37.69 kB / 0.5731 GB, free: 6.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.5204, allocations: 61.7 kB / 0.5731 GB, free: 6.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5204, allocations: 0 / 0.5731 GB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.5206, allocations: 110.2 kB / 0.5733 GB, free: 6.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5206, allocations: 4 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5206, allocations: 0 / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5207, allocations: 0 / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.5208, allocations: 16 kB / 0.5733 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5208, allocations: 4.688 kB / 0.5733 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.5208, allocations: 11.98 kB / 0.5733 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.5208, allocations: 0.5312 kB / 0.5733 GB, free: 6.227 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.0001013/0.5209, allocations: 121.8 kB / 0.5734 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.521, allocations: 19.91 kB / 0.5734 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.5213, allocations: 130.4 kB / 0.5735 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5213, allocations: 0 / 0.5735 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5213, allocations: 4 kB / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5213, allocations: 0 / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.5218, allocations: 407.2 kB / 0.5739 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5218, allocations: 0 / 0.5739 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.5218, allocations: 20.03 kB / 0.574 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5219, allocations: 3.984 kB / 0.574 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5219, allocations: 0 / 0.574 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5219, allocations: 4 kB / 0.574 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5219, allocations: 3.938 kB / 0.574 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5221, allocations: 212.1 kB / 0.5742 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.5222, allocations: 93 kB / 0.5743 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.5222, allocations: 8 kB / 0.5743 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.5223, allocations: 0 / 0.5743 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.5224, allocations: 11.92 kB / 0.5743 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5224, allocations: 8 kB / 0.5743 GB, free: 5.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.5225, allocations: 144.7 kB / 0.5744 GB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5225, allocations: 0 / 0.5744 GB, free: 4.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.5228, allocations: 35.94 kB / 0.5745 GB, free: 4.91 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.001051/0.5238, allocations: 470.7 kB / 0.5749 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.524, allocations: 71.78 kB / 0.575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.524, allocations: 0 / 0.575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.5241, allocations: 28.11 kB / 0.575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5245, allocations: 35.56 kB / 0.575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.525, allocations: 248.8 kB / 0.5753 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5253, allocations: 0.7043 MB / 0.576 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.5254, allocations: 20.84 kB / 0.576 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.5254, allocations: 15.44 kB / 0.576 GB, free: 3.383 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5254, allocations: 0 / 0.576 GB, free: 3.383 MB / 394.7 MB Notification: Performance of Templates: time 0.004325/0.5298, allocations: 1.689 MB / 0.5776 GB, free: 1.699 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches