Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_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.001176/0.001176, allocations: 102.5 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.001405/0.001404, 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.415/1.415, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2087/0.2087, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003845/0.1516, allocations: 1.703 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1532, allocations: 0.8808 MB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1533, allocations: 0 / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1536, allocations: 51.69 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1539, allocations: 63.75 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1542, allocations: 102.4 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1544, allocations: 99.69 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1545, allocations: 12.22 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.1546, allocations: 39.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.1547, allocations: 27.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1547, allocations: 8 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1548, allocations: 47.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1549, allocations: 23.92 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.1549, allocations: 31.75 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1551, allocations: 123.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1551, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1552, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1552, allocations: 0 / 472.6 MB, free: 11.05 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.0005451/0.1557, allocations: 422.9 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1558, allocations: 16.03 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.1558, allocations: 34.75 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1559, allocations: 12.75 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1561, allocations: 212 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1561, allocations: 4.375 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1561, allocations: 7.938 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1563, allocations: 49.67 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1563, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1563, allocations: 8 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1564, allocations: 0 / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.693e-05/0.1564, allocations: 19.98 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1568, allocations: 300.7 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.157, allocations: 54.69 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1571, allocations: 20.84 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1571, allocations: 8 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.1573, allocations: 67.33 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.138e-06/0.1573, allocations: 3.984 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005426/0.1579, allocations: 169.2 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1579, allocations: 59.34 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1581, allocations: 230.5 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1582, allocations: 29.7 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.1582, allocations: 112.1 kB / 474.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1583, allocations: 23.66 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1583, allocations: 17.72 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1584, allocations: 330.8 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.1585, allocations: 16 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.1586, allocations: 41.64 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1587, allocations: 69.7 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1587, allocations: 0 / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1589, allocations: 97.95 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1589, allocations: 4 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1589, allocations: 3.984 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1589, allocations: 0 / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.159, allocations: 27.94 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.159, allocations: 0 / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1591, allocations: 7.969 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1591, allocations: 4 kB / 475 MB, free: 8.367 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.0001038/0.1592, allocations: 130.9 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1592, allocations: 15.81 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1593, allocations: 21.33 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1593, allocations: 4 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1593, allocations: 0 / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.1593, allocations: 3.938 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.1597, allocations: 399.3 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1597, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.1598, allocations: 8 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1598, allocations: 3.938 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1598, allocations: 8 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1598, allocations: 3.938 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1598, allocations: 0 / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.16, allocations: 200.2 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1601, allocations: 89 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1601, allocations: 11.94 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.1602, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1602, allocations: 7.984 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1603, allocations: 4 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1604, allocations: 167.2 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1604, allocations: 4 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1607, allocations: 27.98 kB / 476.1 MB, free: 7.176 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.001522/0.1622, allocations: 1.102 MB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1624, allocations: 67.88 kB / 477.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1624, allocations: 0 / 477.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.1625, allocations: 31.92 kB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1629, allocations: 29.61 kB / 477.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1648, allocations: 1.709 MB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1651, allocations: 0.7158 MB / 479.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1652, allocations: 8.891 kB / 479.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1652, allocations: 39.41 kB / 479.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1653, allocations: 0 / 479.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.1896, allocations: 3.459 MB / 483.2 MB, free: 148 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.888, allocations: 11.92 kB / 483.3 MB, free: 136 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches