Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 181.4 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.68/1.68, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001012/0.001012, allocations: 94.84 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.217/0.217, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 58.84 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5885, allocations: 87.68 MB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5888, allocations: 73.89 kB / 0.5645 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.6038, allocations: 5.289 MB / 0.5696 GB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6038, allocations: 0 / 0.5696 GB, free: 7.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.6039, allocations: 4 kB / 0.5696 GB, free: 7.656 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.0006154/0.6045, allocations: 421.3 kB / 0.57 GB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6046, allocations: 8.031 kB / 0.57 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.6046, allocations: 7.906 kB / 0.57 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.605, allocations: 217.3 kB / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.605, allocations: 0 / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.605, allocations: 4 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.6052, allocations: 56.8 kB / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6052, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6053, allocations: 3.984 kB / 0.5703 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6053, allocations: 4 kB / 0.5703 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.6054, allocations: 27.23 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.6058, allocations: 298.7 kB / 0.5706 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.606, allocations: 57.48 kB / 0.5707 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.606, allocations: 3.938 kB / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.6062, allocations: 70.39 kB / 0.5707 GB, free: 6.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.095e-06/0.6062, allocations: 3.984 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006004/0.6068, allocations: 183.9 kB / 0.5709 GB, free: 6.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6069, allocations: 55.36 kB / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.6071, allocations: 177.7 kB / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6071, allocations: 25.7 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.6071, allocations: 101.7 kB / 0.5713 GB, free: 5.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.6072, allocations: 27.59 kB / 0.5713 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.6072, allocations: 4 kB / 0.5713 GB, free: 5.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6073, allocations: 318.3 kB / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.6074, allocations: 25.61 kB / 0.5716 GB, free: 5.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.6075, allocations: 37.02 kB / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.887e-05/0.6075, allocations: 22.25 kB / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.6075, allocations: 0 / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.6077, allocations: 110.2 kB / 0.5718 GB, free: 5.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6078, allocations: 11.44 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6078, allocations: 0 / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6078, allocations: 0 / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.6079, allocations: 15.98 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6079, allocations: 7.938 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.608, allocations: 6.203 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.608, allocations: 4 kB / 0.5718 GB, free: 5.363 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.0001084/0.6081, allocations: 131.5 kB / 0.572 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.6081, allocations: 11.91 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.6084, allocations: 123.4 kB / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6084, allocations: 0 / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6084, allocations: 0 / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6084, allocations: 0 / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.6089, allocations: 416.4 kB / 0.5725 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6089, allocations: 4.031 kB / 0.5725 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.609, allocations: 11.98 kB / 0.5725 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.609, allocations: 4 kB / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.609, allocations: 0 / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.609, allocations: 3.953 kB / 0.5725 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.609, allocations: 4 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.6093, allocations: 227.6 kB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.6093, allocations: 92.48 kB / 0.5728 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.6094, allocations: 3.953 kB / 0.5728 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.6095, allocations: 11.98 kB / 0.5728 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.6095, allocations: 7 kB / 0.5728 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6095, allocations: 4 kB / 0.5728 GB, free: 4.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.6096, allocations: 150.6 kB / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6097, allocations: 0 / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.6099, allocations: 35.11 kB / 0.573 GB, free: 4.145 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.001047/0.611, allocations: 469.5 kB / 0.5735 GB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.6112, allocations: 69.28 kB / 0.5735 GB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6112, allocations: 4.062 kB / 0.5735 GB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.6113, allocations: 31.05 kB / 0.5736 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.6116, allocations: 24.72 kB / 0.5736 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.6121, allocations: 245 kB / 0.5738 GB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6124, allocations: 0.7016 MB / 0.5745 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.6125, allocations: 20.84 kB / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.6126, allocations: 16.62 kB / 0.5745 GB, free: 2.621 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6126, allocations: 0 / 0.5745 GB, free: 2.621 MB / 378.7 MB Notification: Performance of Templates: time 0.004631/0.6172, allocations: 1.679 MB / 0.5762 GB, free: 0.9609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches