Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 185.1 kB / 15.76 MB, free: 6.363 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.656/1.656, 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.0009748/0.0009749, allocations: 98.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.2161/0.2161, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5482, allocations: 88.7 MB / 0.5654 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5486, allocations: 75.64 kB / 0.5655 GB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.5602, allocations: 4.232 MB / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5603, allocations: 0 / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5603, allocations: 4 kB / 0.5696 GB, free: 7.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006587/0.561, allocations: 482.8 kB / 0.5701 GB, free: 6.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.561, allocations: 8.031 kB / 0.5701 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.5611, allocations: 15.81 kB / 0.5701 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.5615, allocations: 229.3 kB / 0.5703 GB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5615, allocations: 4 kB / 0.5703 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.5616, allocations: 11.53 kB / 0.5703 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.5618, allocations: 112 kB / 0.5704 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5618, allocations: 0 / 0.5704 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5619, allocations: 3.188 kB / 0.5704 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.5619, allocations: 7.984 kB / 0.5704 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.562, allocations: 54.22 kB / 0.5705 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.5627, allocations: 0.5214 MB / 0.571 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.563, allocations: 95.84 kB / 0.5711 GB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.5631, allocations: 4 kB / 0.5711 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.5633, allocations: 81.44 kB / 0.5712 GB, free: 5.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.5633, allocations: 4 kB / 0.5712 GB, free: 5.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004269/0.5637, allocations: 153.7 kB / 0.5713 GB, free: 5.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.5638, allocations: 51.41 kB / 0.5714 GB, free: 5.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.564, allocations: 177.7 kB / 0.5715 GB, free: 5.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.564, allocations: 33.45 kB / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.5641, allocations: 110.2 kB / 0.5717 GB, free: 5.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.5641, allocations: 28.02 kB / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.5641, allocations: 5.625 kB / 0.5717 GB, free: 5.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5643, allocations: 325.8 kB / 0.572 GB, free: 4.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.5644, allocations: 31.42 kB / 0.572 GB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5645, allocations: 62.98 kB / 0.5721 GB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.5646, allocations: 50.23 kB / 0.5722 GB, free: 4.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5646, allocations: 3.938 kB / 0.5722 GB, free: 4.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002594/0.5649, allocations: 139.9 kB / 0.5723 GB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5649, allocations: 8.125 kB / 0.5723 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5649, allocations: 4 kB / 0.5723 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.565, allocations: 3.953 kB / 0.5723 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.5651, allocations: 28.02 kB / 0.5723 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5651, allocations: 3.938 kB / 0.5723 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5652, allocations: 15.09 kB / 0.5723 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5652, allocations: 4 kB / 0.5724 GB, free: 4.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001098/0.5653, allocations: 135.8 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.5654, allocations: 15.91 kB / 0.5725 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.5657, allocations: 137.2 kB / 0.5726 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5657, allocations: 0 / 0.5726 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5657, allocations: 3.953 kB / 0.5726 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5657, allocations: 7.984 kB / 0.5726 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.5659, allocations: 215.5 kB / 0.5728 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5659, allocations: 0 / 0.5728 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.566, allocations: 23.92 kB / 0.5729 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.566, allocations: 0 / 0.5729 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.566, allocations: 4 kB / 0.5729 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.566, allocations: 0 / 0.5729 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.566, allocations: 0 / 0.5729 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.5664, allocations: 205.2 kB / 0.5731 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.5665, allocations: 88.77 kB / 0.5732 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.5666, allocations: 0 / 0.5732 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.5666, allocations: 11.98 kB / 0.5732 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.5667, allocations: 11.55 kB / 0.5732 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5667, allocations: 0 / 0.5732 GB, free: 3.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.5668, allocations: 147.1 kB / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5668, allocations: 0 / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.5671, allocations: 35.66 kB / 0.5733 GB, free: 3.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009486/0.568, allocations: 437.5 kB / 0.5738 GB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.5683, allocations: 89.95 kB / 0.5739 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5683, allocations: 0 / 0.5739 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5684, allocations: 47.47 kB / 0.5739 GB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.5687, allocations: 27.61 kB / 0.5739 GB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.5694, allocations: 299.9 kB / 0.5742 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5698, allocations: 0.7203 MB / 0.5749 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.894e-05/0.5699, allocations: 21.06 kB / 0.5749 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.5699, allocations: 23.12 kB / 0.575 GB, free: 2.055 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5699, allocations: 0 / 0.575 GB, free: 2.055 MB / 378.7 MB Notification: Performance of Templates: time 0.004871/0.5748, allocations: 1.783 MB / 0.5767 GB, free: 288 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches