Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 77.28 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1478, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003343/0.1512, allocations: 1.778 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1529, allocations: 1.025 MB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1531, allocations: 3.938 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1535, allocations: 111.6 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.1539, allocations: 119.5 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1541, allocations: 83.61 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1544, allocations: 139.7 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1545, allocations: 25.33 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1546, allocations: 59.77 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1548, allocations: 75.73 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1548, allocations: 4 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1549, allocations: 59.98 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.155, allocations: 31.91 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.1551, allocations: 55.61 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1553, allocations: 159.8 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1553, allocations: 0 / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1554, allocations: 3.938 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.1554, allocations: 0 / 483.8 MB, free: 1.434 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005851/0.156, allocations: 454.6 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.156, allocations: 12.03 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.156, allocations: 34.73 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.1561, allocations: 20.75 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1564, allocations: 225 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1564, allocations: 8.375 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1564, allocations: 7.938 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1566, allocations: 77.53 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1566, allocations: 0 / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1566, allocations: 0 / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1567, allocations: 4 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1568, allocations: 35.97 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1572, allocations: 336.6 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1574, allocations: 74.48 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.1575, allocations: 28.84 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1576, allocations: 4 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1578, allocations: 75.33 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1578, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008446/0.1586, allocations: 328.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1587, allocations: 51.41 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1589, allocations: 255.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.159, allocations: 29.7 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.1591, allocations: 116.1 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.1591, allocations: 47.36 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1593, allocations: 33.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1594, allocations: 326.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.1595, allocations: 39.92 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1596, allocations: 57.69 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1598, allocations: 105.5 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1598, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003277/0.1602, allocations: 157.4 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1602, allocations: 8 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1602, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1602, allocations: 3.938 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1603, allocations: 32.09 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1604, allocations: 3.938 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.1604, allocations: 4 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1604, allocations: 12.81 kB / 486.8 MB, free: 14.25 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 (16): * Single equations (assignments): 16 * 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.000146/0.1606, allocations: 145.8 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1607, allocations: 15.81 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.1607, allocations: 29.45 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1608, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1608, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1608, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.1615, allocations: 0.5038 MB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1615, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.1616, allocations: 27.92 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1616, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1616, allocations: 4 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1616, allocations: 4 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1616, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.162, allocations: 265 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.1621, allocations: 92.92 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.1621, allocations: 4 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.1622, allocations: 7.984 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.1623, allocations: 11.98 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.1623, allocations: 16 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.1625, allocations: 189.5 kB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1625, allocations: 0 / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1628, allocations: 39.98 kB / 488.1 MB, free: 12.79 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 (14): * Single equations (assignments): 12 * 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.00192/0.1648, allocations: 1.192 MB / 489.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.165, allocations: 110.1 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1651, allocations: 3.938 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.1652, allocations: 51.92 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1655, allocations: 26.98 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.168, allocations: 2.001 MB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1685, allocations: 0.7279 MB / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1686, allocations: 25.41 kB / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1687, allocations: 47.42 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1687, allocations: 0 / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1897, allocations: 4.259 MB / 496.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.085, allocations: 13.86 kB / 496.6 MB, free: 4.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_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_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches