Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 93.95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 174.7 kB / 18.25 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 14.16 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002766/0.1433, allocations: 1.629 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.145, allocations: 0.8733 MB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1451, allocations: 0 / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.1456, allocations: 35.77 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1458, allocations: 47.83 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.1461, allocations: 122.6 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1464, allocations: 123.6 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1465, allocations: 25.48 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1467, allocations: 55.64 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1468, allocations: 47.72 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1468, allocations: 4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1469, allocations: 36 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.147, allocations: 27.91 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.1471, allocations: 69.38 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1474, allocations: 143.7 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1474, allocations: 0 / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1474, allocations: 3.938 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1474, allocations: 0 / 475.5 MB, free: 10.09 MB / 350.1 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.0008106/0.1483, allocations: 464.6 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1483, allocations: 8.031 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.1484, allocations: 16.75 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.1487, allocations: 223.9 kB / 476.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1487, allocations: 4.375 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1488, allocations: 20.09 kB / 476.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.1491, allocations: 104.2 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1491, allocations: 0 / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1491, allocations: 4 kB / 476.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1491, allocations: 4 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1493, allocations: 51.89 kB / 476.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.1501, allocations: 0.5126 MB / 476.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.1505, allocations: 90.66 kB / 477 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1506, allocations: 36.84 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1506, allocations: 4 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.1509, allocations: 83.31 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1509, allocations: 0 / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004593/0.1514, allocations: 153.4 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1514, allocations: 59.34 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1517, allocations: 191.5 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1517, allocations: 29.7 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1518, allocations: 115.9 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1519, allocations: 27.62 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1519, allocations: 21.7 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.152, allocations: 322.8 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.269e-05/0.1521, allocations: 31.98 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1523, allocations: 64.64 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1525, allocations: 112.1 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1525, allocations: 0 / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002628/0.1527, allocations: 137.5 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1528, allocations: 4 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1528, allocations: 3.984 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1528, allocations: 4 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.1529, allocations: 27.94 kB / 478.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.1529, allocations: 3.984 kB / 478.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.153, allocations: 19.97 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.153, allocations: 4 kB / 478.4 MB, free: 6.891 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.1531, allocations: 125.8 kB / 478.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1532, allocations: 19.8 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1532, allocations: 17.41 kB / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1532, allocations: 3.938 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1532, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1533, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1534, allocations: 209.6 kB / 478.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1535, allocations: 4 kB / 478.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.1535, allocations: 15.98 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1535, allocations: 0 / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1536, allocations: 4 kB / 478.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1536, allocations: 3.938 kB / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1536, allocations: 0 / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.154, allocations: 196.8 kB / 479 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1541, allocations: 96.89 kB / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1541, allocations: 4 kB / 479.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.1542, allocations: 11.92 kB / 479.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.1542, allocations: 7.984 kB / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1543, allocations: 8 kB / 479.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1544, allocations: 137.3 kB / 479.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1544, allocations: 7.938 kB / 479.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1546, allocations: 28.12 kB / 479.3 MB, free: 5.914 MB / 350.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.1557, allocations: 406.1 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.156, allocations: 83.89 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.156, allocations: 8.188 kB / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1561, allocations: 35.98 kB / 479.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1564, allocations: 31.97 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.157, allocations: 302.2 kB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1574, allocations: 0.7164 MB / 480.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.1575, allocations: 21.41 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1575, allocations: 19.44 kB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1575, allocations: 0 / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Templates: time 0.005362/0.1629, allocations: 1.771 MB / 482.7 MB, free: 2.66 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches