Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001523, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001679/0.001679, allocations: 193.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4012/0.4012, allocations: 43.5 MB / 313.6 MB, free: 8.531 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 72.47 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.161, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004191/0.1652, allocations: 1.749 MB / 441.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1668, allocations: 0.7962 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.167, allocations: 4 kB / 442.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1674, allocations: 27.91 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1677, allocations: 63.75 kB / 442.8 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1681, allocations: 75.84 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1683, allocations: 99.69 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1685, allocations: 20.19 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1686, allocations: 39.8 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.1687, allocations: 31.86 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1688, allocations: 7.984 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1689, allocations: 43.98 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.169, allocations: 23.92 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1691, allocations: 43.61 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1694, allocations: 115.9 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1694, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1694, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1694, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.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.0006747/0.1701, allocations: 430.8 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1701, allocations: 11.89 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1702, allocations: 38.75 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.1703, allocations: 8.844 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1705, allocations: 219.9 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1706, allocations: 8.312 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1706, allocations: 7.938 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1708, allocations: 53.67 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1708, allocations: 3.938 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1708, allocations: 0 / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1708, allocations: 3.984 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.1709, allocations: 20 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1714, allocations: 288.9 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1716, allocations: 62.62 kB / 444.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1716, allocations: 20.84 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1717, allocations: 0 / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.1719, allocations: 71.39 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1719, allocations: 0 / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006186/0.1725, allocations: 177.1 kB / 444.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1726, allocations: 55.41 kB / 444.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.1729, allocations: 226.6 kB / 444.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1729, allocations: 25.7 kB / 444.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.173, allocations: 108.1 kB / 445.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.173, allocations: 23.66 kB / 445.1 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.1731, allocations: 29.7 kB / 445.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1732, allocations: 322.8 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.1733, allocations: 27.92 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1733, allocations: 33.7 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1735, allocations: 57.72 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1735, allocations: 0 / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1737, allocations: 113.3 kB / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1737, allocations: 8 kB / 445.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1737, allocations: 0 / 445.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1737, allocations: 0 / 445.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.1738, allocations: 12 kB / 445.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1738, allocations: 4 kB / 445.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.1739, allocations: 7.922 kB / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1739, allocations: 8.031 kB / 445.7 MB, free: 8.797 MB / 382.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.0001133/0.174, allocations: 133.8 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.1741, allocations: 7.906 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1741, allocations: 17.41 kB / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1741, allocations: 0 / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1741, allocations: 0 / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1742, allocations: 7.938 kB / 445.8 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1746, allocations: 399.4 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1746, allocations: 0 / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.1747, allocations: 15.94 kB / 446.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1747, allocations: 7.922 kB / 446.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1747, allocations: 4.375 kB / 446.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1747, allocations: 3.984 kB / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1747, allocations: 4 kB / 446.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1749, allocations: 208.2 kB / 446.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.175, allocations: 88.92 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.175, allocations: 3.938 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1751, allocations: 4 kB / 446.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1751, allocations: 7.984 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1751, allocations: 8 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1753, allocations: 172.3 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1753, allocations: 0 / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1755, allocations: 16 kB / 446.8 MB, free: 7.602 MB / 382.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.001441/0.177, allocations: 1.117 MB / 447.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1772, allocations: 63.89 kB / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1772, allocations: 0 / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.1773, allocations: 27.98 kB / 448 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1776, allocations: 31.78 kB / 448 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1797, allocations: 1.739 MB / 449.7 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.1801, allocations: 0.708 MB / 450.5 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.1802, allocations: 21.11 kB / 450.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.1803, allocations: 39.42 kB / 450.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1803, allocations: 0 / 450.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1939, allocations: 3.362 MB / 453.9 MB, free: 384 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.1941, allocations: 238.6 kB / 454.1 MB, free: 120 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.037, allocations: 0 / 454.1 MB, free: 120 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches