Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.00125/0.00125, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001237/0.001237, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.41/1.41, 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.222/0.222, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 65.28 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1606, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.006032/0.1667, allocations: 1.899 MB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1693, allocations: 0.9197 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1696, allocations: 7.938 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1701, allocations: 39.75 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.1706, allocations: 55.64 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.1712, allocations: 135.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.1716, allocations: 135.6 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1718, allocations: 25.48 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.172, allocations: 63.64 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1722, allocations: 47.72 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.1722, allocations: 8 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1724, allocations: 51.92 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.1725, allocations: 27.91 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1726, allocations: 47.67 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.173, allocations: 147.8 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1731, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1731, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1731, allocations: 0 / 473 MB, free: 10.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001104/0.1742, allocations: 479.5 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.1743, allocations: 12.03 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.567e-05/0.1744, allocations: 38.69 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.1745, allocations: 16.75 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.1749, allocations: 224 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.175, allocations: 4.375 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.175, allocations: 11.94 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1754, allocations: 112.2 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1754, allocations: 0 / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1754, allocations: 4 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1755, allocations: 0 / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.1757, allocations: 47.97 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008987/0.1766, allocations: 0.5087 MB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.1772, allocations: 86.59 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1774, allocations: 48.77 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1774, allocations: 4 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.1778, allocations: 79.38 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.936e-06/0.1779, allocations: 0 / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006587/0.1785, allocations: 145.6 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1786, allocations: 51.41 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1789, allocations: 187.5 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1789, allocations: 37.8 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1791, allocations: 115.9 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.1791, allocations: 27.61 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.1792, allocations: 33.66 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1794, allocations: 322.8 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1795, allocations: 27.98 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1797, allocations: 68.28 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.18, allocations: 92.2 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1801, allocations: 0 / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004521/0.1805, allocations: 141.3 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1806, allocations: 4 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1806, allocations: 4 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1806, allocations: 3.938 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1808, allocations: 27.92 kB / 475.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1808, allocations: 4 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1809, allocations: 16.05 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.181, allocations: 12 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001573/0.1812, allocations: 117.8 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.1812, allocations: 15.81 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.1813, allocations: 25.38 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1813, allocations: 7.875 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1813, allocations: 0 / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1814, allocations: 0 / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.1816, allocations: 209.6 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1817, allocations: 0 / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1818, allocations: 19.98 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1818, allocations: 0 / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1818, allocations: 96 / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1818, allocations: 7.875 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1819, allocations: 3.938 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1825, allocations: 176.8 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.1826, allocations: 92.95 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1826, allocations: 15.98 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1827, allocations: 7.938 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1828, allocations: 3.984 kB / 476.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.1828, allocations: 8 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1831, allocations: 141.2 kB / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1831, allocations: 0 / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004256/0.1835, allocations: 28.12 kB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002477/0.186, allocations: 1.023 MB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.1864, allocations: 75.91 kB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1864, allocations: 4.25 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1866, allocations: 43.91 kB / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1871, allocations: 38.88 kB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.1903, allocations: 1.733 MB / 479.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1907, allocations: 0.7161 MB / 480.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1909, allocations: 17.42 kB / 480.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.191, allocations: 47.42 kB / 480.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.191, allocations: 0 / 480.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2199, allocations: 3.686 MB / 484.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.688, allocations: 10.75 kB / 484.2 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches