Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001016/0.001016, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.664/1.664, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008517/0.0008517, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.2599/0.2599, allocations: 43.57 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003746, allocations: 12 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 58.85 MB / 490.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5898, allocations: 87.71 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5902, allocations: 79.83 kB / 0.5645 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.6055, allocations: 5.374 MB / 0.5697 GB, free: 7.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.6056, allocations: 0 / 0.5697 GB, free: 7.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.6056, allocations: 4 kB / 0.5697 GB, free: 7.523 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.000744/0.6064, allocations: 418.3 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.6064, allocations: 8.031 kB / 0.5702 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.6065, allocations: 11.78 kB / 0.5702 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.6069, allocations: 217.2 kB / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.607, allocations: 0 / 0.5704 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.607, allocations: 4 kB / 0.5704 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6072, allocations: 54.86 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6072, allocations: 0 / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.6072, allocations: 0 / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6073, allocations: 7.938 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.6074, allocations: 23.55 kB / 0.5705 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.6078, allocations: 308.5 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.608, allocations: 53.56 kB / 0.5708 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.608, allocations: 3.984 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.6083, allocations: 78.69 kB / 0.5709 GB, free: 6.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.6083, allocations: 0 / 0.5709 GB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006162/0.6089, allocations: 174 kB / 0.571 GB, free: 6.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.609, allocations: 63.11 kB / 0.5711 GB, free: 6.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6092, allocations: 171.6 kB / 0.5713 GB, free: 5.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6092, allocations: 25.7 kB / 0.5713 GB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.6093, allocations: 102.9 kB / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.6093, allocations: 27.39 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.6093, allocations: 3.625 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6095, allocations: 322.5 kB / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.6096, allocations: 19.25 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.6096, allocations: 32.58 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.6097, allocations: 30.73 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6097, allocations: 4 kB / 0.5718 GB, free: 5.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.6099, allocations: 103 kB / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6099, allocations: 11.98 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6099, allocations: 0 / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6099, allocations: 0 / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.61, allocations: 12 kB / 0.5719 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6101, allocations: 4 kB / 0.5719 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.6101, allocations: 11.75 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.6101, allocations: 4 kB / 0.572 GB, free: 5.234 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 () * 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.0001088/0.6102, allocations: 132.7 kB / 0.5721 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.6103, allocations: 11.91 kB / 0.5721 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.6105, allocations: 119.1 kB / 0.5722 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6105, allocations: 4.281 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6106, allocations: 3.984 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6106, allocations: 0 / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.6111, allocations: 420.9 kB / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6111, allocations: 0 / 0.5726 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.6111, allocations: 8 kB / 0.5726 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6111, allocations: 4 kB / 0.5726 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6111, allocations: 7.672 kB / 0.5726 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6112, allocations: 4.328 kB / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6112, allocations: 0 / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.6114, allocations: 218 kB / 0.5728 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.6115, allocations: 104.5 kB / 0.5729 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.6115, allocations: 7.953 kB / 0.573 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.6116, allocations: 4 kB / 0.573 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.6116, allocations: 7.984 kB / 0.573 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.6117, allocations: 7.062 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.6118, allocations: 141 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6118, allocations: 0 / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.6121, allocations: 35.25 kB / 0.5731 GB, free: 4.016 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) * 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.001055/0.6132, allocations: 475.8 kB / 0.5736 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.6134, allocations: 63.16 kB / 0.5737 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6134, allocations: 7.938 kB / 0.5737 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.6135, allocations: 32.17 kB / 0.5737 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6137, allocations: 22.05 kB / 0.5737 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.6142, allocations: 247.2 kB / 0.5739 GB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.6145, allocations: 0.7077 MB / 0.5746 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.6146, allocations: 20.84 kB / 0.5747 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.6147, allocations: 15.44 kB / 0.5747 GB, free: 2.488 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6147, allocations: 4 kB / 0.5747 GB, free: 2.484 MB / 378.7 MB Notification: Performance of Templates: time 0.004337/0.619, allocations: 1.668 MB / 0.5763 GB, free: 0.832 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches