Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001019, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.453/1.453, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009013/0.0009017, allocations: 84.48 kB / 267 MB, free: 9.27 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.3925/0.3925, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.974e-05, allocations: 8 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.5283, allocations: 87.62 MB / 0.5584 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.5286, allocations: 74.05 kB / 0.5585 GB, free: 16.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.5428, allocations: 5.722 MB / 0.564 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5429, allocations: 0.5469 kB / 0.564 GB, free: 13.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.5429, allocations: 0 / 0.564 GB, free: 13.12 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.0005792/0.5435, allocations: 431 kB / 0.5645 GB, free: 12.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.5435, allocations: 8.031 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.5436, allocations: 15.34 kB / 0.5645 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.5439, allocations: 230.9 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.544, allocations: 0 / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.544, allocations: 7.938 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5441, allocations: 57.11 kB / 0.5648 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5442, allocations: 0 / 0.5648 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5442, allocations: 5.375 kB / 0.5648 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5442, allocations: 0 / 0.5648 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.5443, allocations: 15.94 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.5447, allocations: 315.4 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.5448, allocations: 58.31 kB / 0.5651 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.5448, allocations: 16.55 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.5449, allocations: 4 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.545, allocations: 67.08 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.545, allocations: 3.828 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004624/0.5455, allocations: 167.5 kB / 0.5654 GB, free: 11.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5455, allocations: 55.39 kB / 0.5654 GB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.5457, allocations: 248.9 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5457, allocations: 29.7 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.5458, allocations: 123 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.5458, allocations: 15.69 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.5458, allocations: 0 / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.5459, allocations: 330.5 kB / 0.5661 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.546, allocations: 19.81 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.546, allocations: 35.69 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.5461, allocations: 23.86 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5461, allocations: 8 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001257/0.5462, allocations: 96.5 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5462, allocations: 8 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5462, allocations: 0 / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5463, allocations: 0 / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.5464, allocations: 19.98 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5464, allocations: 3.953 kB / 0.5664 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.5464, allocations: 4 kB / 0.5664 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5464, allocations: 0 / 0.5664 GB, free: 10.76 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 () * 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 6.091e-05/0.5465, allocations: 114.1 kB / 0.5665 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.5465, allocations: 19.8 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.5468, allocations: 126.1 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5468, allocations: 4 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5468, allocations: 0 / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5468, allocations: 7.938 kB / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.5472, allocations: 433.8 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5472, allocations: 4.031 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.5472, allocations: 13.06 kB / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5472, allocations: 0 / 0.567 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5472, allocations: 8.125 kB / 0.5671 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5472, allocations: 8.031 kB / 0.5671 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5473, allocations: 3.984 kB / 0.5671 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.5474, allocations: 224.6 kB / 0.5673 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.5475, allocations: 106.2 kB / 0.5674 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.5475, allocations: 7.953 kB / 0.5674 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.5476, allocations: 7.984 kB / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.5476, allocations: 4 kB / 0.5674 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.5477, allocations: 3.938 kB / 0.5674 GB, free: 9.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.5478, allocations: 203.6 kB / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5478, allocations: 0 / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.5481, allocations: 31.94 kB / 0.5676 GB, free: 9.488 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) * 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.001006/0.5491, allocations: 425.3 kB / 0.568 GB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.5492, allocations: 55.42 kB / 0.5681 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5492, allocations: 4.062 kB / 0.5681 GB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.5493, allocations: 31.62 kB / 0.5681 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.5496, allocations: 23.84 kB / 0.5681 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.55, allocations: 241.9 kB / 0.5684 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5502, allocations: 0.7239 MB / 0.5691 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.5502, allocations: 20.75 kB / 0.5691 GB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.5503, allocations: 19.42 kB / 0.5691 GB, free: 8.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5503, allocations: 0 / 0.5691 GB, free: 8.035 MB / 394.7 MB Notification: Performance of Templates: time 0.004266/0.5546, allocations: 1.862 MB / 0.5709 GB, free: 6.195 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches