Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 75.75 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1487, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004007/0.1528, allocations: 1.746 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1548, allocations: 1.025 MB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.155, allocations: 4 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1554, allocations: 47.75 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.1558, allocations: 107.5 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.156, allocations: 71.75 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1563, allocations: 131.6 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1564, allocations: 12 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1565, allocations: 63.7 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.1566, allocations: 43.83 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1567, allocations: 8 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1568, allocations: 63.97 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1569, allocations: 23.92 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.1569, allocations: 51.66 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1572, allocations: 151.8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1572, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1572, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1572, allocations: 0 / 483.7 MB, free: 1.621 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006548/0.1579, allocations: 426.9 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1579, allocations: 11.97 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.158, allocations: 46.73 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.158, allocations: 12.75 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1583, allocations: 221.3 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1583, allocations: 8.375 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1583, allocations: 7.875 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1585, allocations: 73.66 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1586, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1586, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1586, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1587, allocations: 43.97 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1591, allocations: 332.6 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1594, allocations: 78.55 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1595, allocations: 36.78 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1595, allocations: 160 / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.1597, allocations: 95.39 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1597, allocations: 4 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008628/0.1606, allocations: 285 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1607, allocations: 55.34 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1608, allocations: 194.3 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1609, allocations: 29.7 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1609, allocations: 112.3 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.161, allocations: 43.45 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.161, allocations: 25.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1612, allocations: 326.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.1613, allocations: 35.98 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.1614, allocations: 53.7 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1615, allocations: 101.2 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1615, allocations: 3.938 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002746/0.1618, allocations: 165.4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1618, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1619, allocations: 4.844 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1619, allocations: 0 / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.162, allocations: 31.86 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.162, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.162, allocations: 8 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1621, allocations: 8.031 kB / 486.5 MB, free: 14.55 MB / 366.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 (15): * Single equations (assignments): 15 * 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.0001182/0.1622, allocations: 129.8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1622, allocations: 11.81 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.1623, allocations: 25.52 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1623, allocations: 7.875 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1623, allocations: 0 / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1623, allocations: 4 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.1629, allocations: 492 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1629, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.163, allocations: 23.92 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.163, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.163, allocations: 4 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.163, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.163, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1633, allocations: 261 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.1634, allocations: 92.91 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1634, allocations: 12 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1635, allocations: 4 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1636, allocations: 11.98 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1636, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1637, allocations: 152.3 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1637, allocations: 0 / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.164, allocations: 39.98 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001811/0.1658, allocations: 1.195 MB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1661, allocations: 107.9 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1661, allocations: 0 / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1662, allocations: 51.92 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1666, allocations: 27.55 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1687, allocations: 1.857 MB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.169, allocations: 0.7123 MB / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.1691, allocations: 25.41 kB / 491.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.1692, allocations: 55.41 kB / 491.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1692, allocations: 4 kB / 491.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1911, allocations: 3.976 MB / 495.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.689, allocations: 6.906 kB / 495.8 MB, free: 5.301 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches