Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 88.89 kB / 17.35 MB, free: 6 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.001361/0.001361, allocations: 181.1 kB / 18.26 MB, free: 5.387 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.625/1.625, allocations: 223.3 MB / 242.3 MB, free: 88 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.291/0.291, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002407/0.1569, allocations: 1.371 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1584, allocations: 0.8343 MB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.1586, allocations: 0 / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.159, allocations: 71.83 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1592, allocations: 71.78 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.1596, allocations: 99.02 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1599, allocations: 95.69 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.16, allocations: 4 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1601, allocations: 47.77 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1602, allocations: 51.83 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1603, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1604, allocations: 31.98 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1605, allocations: 23.86 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.1606, allocations: 49.52 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1608, allocations: 115.8 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1608, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1608, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1608, allocations: 0 / 475.1 MB, free: 10.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006261/0.1615, allocations: 391.1 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1615, allocations: 8.031 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.1616, allocations: 12.84 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1619, allocations: 208 kB / 475.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1619, allocations: 8.375 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1619, allocations: 4.125 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1621, allocations: 53.67 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1621, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1621, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1621, allocations: 0 / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.1622, allocations: 19.92 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1624, allocations: 185.6 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1626, allocations: 54.56 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.1627, allocations: 24.78 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1627, allocations: 0 / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.1629, allocations: 67.38 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.316e-06/0.1629, allocations: 0 / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003954/0.1633, allocations: 105.5 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1633, allocations: 51.41 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1636, allocations: 215.2 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1636, allocations: 25.7 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.1637, allocations: 108.1 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1637, allocations: 11.81 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.1638, allocations: 13.72 kB / 476.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1639, allocations: 326.8 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.164, allocations: 19.98 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.164, allocations: 25.72 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1641, allocations: 49.64 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1642, allocations: 0 / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001879/0.1644, allocations: 77.78 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1644, allocations: 8 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1644, allocations: 64 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1644, allocations: 12.02 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.1645, allocations: 11.94 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1645, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1646, allocations: 7.938 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1646, allocations: 4 kB / 477.2 MB, free: 8.16 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 (7): * Single equations (assignments): 7 * 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.0001194/0.1647, allocations: 129.8 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1648, allocations: 15.81 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.1648, allocations: 16.98 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1648, allocations: 4 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1648, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1648, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.165, allocations: 193.6 kB / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.165, allocations: 0 / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.1651, allocations: 0 / 477.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1651, allocations: 7.984 kB / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1651, allocations: 0 / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1651, allocations: 0 / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1651, allocations: 0 / 477.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1653, allocations: 116.9 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1654, allocations: 88.92 kB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1654, allocations: 3.938 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.1655, allocations: 11.92 kB / 477.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.1655, allocations: 4 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1655, allocations: 0 / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1657, allocations: 159.2 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1657, allocations: 0 / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1659, allocations: 23.98 kB / 477.9 MB, free: 7.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00097/0.1669, allocations: 408.3 kB / 478.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1671, allocations: 35.92 kB / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1671, allocations: 0 / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.1671, allocations: 19.94 kB / 478.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1675, allocations: 31.91 kB / 478.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.168, allocations: 237.5 kB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1684, allocations: 0.7043 MB / 479.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1684, allocations: 20.53 kB / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1685, allocations: 11.44 kB / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1685, allocations: 0 / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Templates: time 0.005586/0.1741, allocations: 1.421 MB / 480.8 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches