Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.00135/0.00135, allocations: 192 kB / 18.56 MB, free: 4.434 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.429/1.429, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 64.72 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00413/0.1498, allocations: 1.7 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1514, allocations: 0.8808 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.1515, allocations: 0 / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1519, allocations: 55.75 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1521, allocations: 55.75 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1524, allocations: 119.5 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1526, allocations: 95.69 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1527, allocations: 8.234 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.1528, allocations: 43.78 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.1529, allocations: 35.84 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1529, allocations: 4 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.153, allocations: 35.98 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1531, allocations: 27.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.1532, allocations: 39.69 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1534, allocations: 135.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1534, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1534, allocations: 3.938 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1534, allocations: 0 / 472.5 MB, free: 11.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006027/0.154, allocations: 442.7 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1541, allocations: 12.03 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1541, allocations: 12.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1544, allocations: 215.9 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1544, allocations: 384 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.1544, allocations: 8.125 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1546, allocations: 53.67 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1546, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1546, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.1547, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.1547, allocations: 23.98 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1552, allocations: 292.9 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1554, allocations: 62.61 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.1555, allocations: 20.84 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1555, allocations: 4 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1557, allocations: 71.38 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1557, allocations: 0 / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005828/0.1563, allocations: 185.3 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1564, allocations: 51.41 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1567, allocations: 262.9 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1567, allocations: 25.7 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1568, allocations: 120.1 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1569, allocations: 23.7 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1569, allocations: 25.72 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1571, allocations: 330.8 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.1572, allocations: 20.06 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1572, allocations: 37.7 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1574, allocations: 65.69 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1574, allocations: 3.938 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.1576, allocations: 101.4 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1576, allocations: 8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1576, allocations: 0 / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1577, allocations: 3.984 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.1578, allocations: 15.94 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1578, allocations: 4.188 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.1578, allocations: 7.969 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1579, allocations: 11.94 kB / 475 MB, free: 8.395 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.158, allocations: 133.8 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.158, allocations: 19.8 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1581, allocations: 17.41 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1581, allocations: 4 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1581, allocations: 0 / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1581, allocations: 3.938 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.1586, allocations: 403.3 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1586, allocations: 0 / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1587, allocations: 8 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1587, allocations: 0 / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1587, allocations: 15.92 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1587, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1587, allocations: 0 / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1589, allocations: 208.4 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.159, allocations: 88.92 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.159, allocations: 11.94 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1591, allocations: 3.984 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1592, allocations: 4 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1592, allocations: 4 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1594, allocations: 204.2 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1596, allocations: 28 kB / 476.1 MB, free: 7.156 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.001073/0.1607, allocations: 464.2 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1609, allocations: 63.91 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1609, allocations: 0 / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.161, allocations: 35.86 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1613, allocations: 23.98 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.1619, allocations: 291.8 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1622, allocations: 0.7158 MB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.1622, allocations: 21.17 kB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1623, allocations: 15.44 kB / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1623, allocations: 0 / 477.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Templates: time 0.004683/0.167, allocations: 1.737 MB / 479.4 MB, free: 3.949 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches