Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001521/0.001521, allocations: 107 kB / 17.33 MB, free: 6.023 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.001502/0.001502, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.501/1.501, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2704/0.2704, allocations: 44.18 MB / 336.3 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 68.83 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1688, allocations: 60.81 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003634/0.1725, allocations: 1.761 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.174, allocations: 0.8653 MB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.1741, allocations: 0 / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.1745, allocations: 79.83 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1749, allocations: 67.8 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1752, allocations: 99.14 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1754, allocations: 111.7 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1756, allocations: 4.234 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1757, allocations: 55.77 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1758, allocations: 55.81 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1758, allocations: 4 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1759, allocations: 47.92 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.176, allocations: 23.92 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.176, allocations: 39.73 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1763, allocations: 111.9 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1763, allocations: 3.938 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1763, allocations: 0 / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1763, allocations: 0 / 472.1 MB, free: 11.3 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.0005454/0.1768, allocations: 422.9 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1769, allocations: 8.031 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1769, allocations: 34.73 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.177, allocations: 16.84 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1772, allocations: 216.4 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1772, allocations: 384 / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1773, allocations: 11.88 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1774, allocations: 53.67 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1774, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1774, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1775, allocations: 0 / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1775, allocations: 23.98 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1779, allocations: 288.8 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1781, allocations: 58.67 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.1781, allocations: 16.86 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1782, allocations: 4 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1784, allocations: 83.3 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.1784, allocations: 0 / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.1789, allocations: 173.1 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.179, allocations: 59.34 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1792, allocations: 219.4 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1792, allocations: 29.7 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.1793, allocations: 104.1 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1793, allocations: 23.66 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1793, allocations: 29.7 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.1794, allocations: 322.8 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1795, allocations: 20 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.1796, allocations: 37.7 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1797, allocations: 57.64 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1797, allocations: 0 / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.1799, allocations: 109.6 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1799, allocations: 7.984 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1799, allocations: 0 / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1799, allocations: 0 / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.18, allocations: 19.94 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1801, allocations: 0 / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1801, allocations: 7.922 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1801, allocations: 7.984 kB / 474.6 MB, free: 8.633 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 9.554e-05/0.1802, allocations: 132.4 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1803, allocations: 11.81 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.1803, allocations: 21.39 kB / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1803, allocations: 0 / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1803, allocations: 192 / 474.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1803, allocations: 3.938 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.1808, allocations: 395.3 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1808, allocations: 3.984 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.1808, allocations: 12.03 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1808, allocations: 7.938 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1809, allocations: 4 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1809, allocations: 384 / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1809, allocations: 3.938 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1811, allocations: 200.2 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1811, allocations: 89 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1812, allocations: 15.94 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1813, allocations: 3.938 kB / 475.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1813, allocations: 7.984 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1813, allocations: 4 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1814, allocations: 159.2 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1815, allocations: 0 / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1817, allocations: 24 kB / 475.6 MB, free: 7.453 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.001398/0.1831, allocations: 1.102 MB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1833, allocations: 59.91 kB / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1833, allocations: 0 / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.1834, allocations: 36.06 kB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1837, allocations: 27.97 kB / 476.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.1855, allocations: 1.706 MB / 478.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1857, allocations: 0.708 MB / 479.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.1858, allocations: 12.55 kB / 479.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1859, allocations: 39.42 kB / 479.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1859, allocations: 0 / 479.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1994, allocations: 3.324 MB / 482.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.1997, allocations: 238.4 kB / 482.9 MB, free: 348 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.028, allocations: 0 / 482.9 MB, free: 348 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches