Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007941/0.0007941, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9186/0.9186, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2562/0.2562, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 439.6 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.344e-05, allocations: 2.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002602/0.002626, allocations: 1.792 MB / 441.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003938, allocations: 1.052 MB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.004035, allocations: 7.938 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.004528, allocations: 307 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.004943, allocations: 267 kB / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.005134, allocations: 107.6 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.00538, allocations: 267.2 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.00543, allocations: 5.812 kB / 443.4 MB, free: 368 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.005585, allocations: 159.6 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.005758, allocations: 199.6 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.00578, allocations: 8 kB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1799/0.1857, allocations: 51.58 kB / 443.8 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1858, allocations: 140.8 kB / 444 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.1859, allocations: 69.72 kB / 444.1 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1863, allocations: 359.4 kB / 444.4 MB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1863, allocations: 6.719 kB / 444.4 MB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1863, allocations: 0 / 444.4 MB, free: 43.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1863, allocations: 6.875 kB / 444.4 MB, free: 43.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006265/0.1869, allocations: 0.6791 MB / 445.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.187, allocations: 8.719 kB / 445.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.187, allocations: 37.06 kB / 445.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.187, allocations: 50.98 kB / 445.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.1874, allocations: 389.8 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1874, allocations: 384 / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1874, allocations: 8.594 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1876, allocations: 85.62 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1876, allocations: 1.75 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1876, allocations: 6.656 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1876, allocations: 1.688 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.501e-05/0.1877, allocations: 36.66 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.1879, allocations: 331.6 kB / 446 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.188, allocations: 103.7 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.1881, allocations: 44.27 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1881, allocations: 0.5938 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.1882, allocations: 116.8 kB / 446.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1882, allocations: 0.625 kB / 446.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002898/0.1885, allocations: 220.8 kB / 446.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1886, allocations: 79.77 kB / 446.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.1892, allocations: 1.061 MB / 447.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1892, allocations: 34.83 kB / 447.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1893, allocations: 235.4 kB / 447.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1893, allocations: 32.56 kB / 447.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1893, allocations: 31.27 kB / 448 MB, free: 42.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.1894, allocations: 368.1 kB / 448.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.1894, allocations: 30.31 kB / 448.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.1895, allocations: 61.72 kB / 448.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.1896, allocations: 93.92 kB / 448.5 MB, free: 41.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1896, allocations: 0 / 448.5 MB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001656/0.1898, allocations: 176.4 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1898, allocations: 9.5 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1898, allocations: 3.312 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1898, allocations: 0 / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.1899, allocations: 24.95 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1899, allocations: 0 / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.1899, allocations: 16.5 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1899, allocations: 4.156 kB / 448.7 MB, free: 41.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001165/0.19, allocations: 229 kB / 449 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1901, allocations: 62.34 kB / 449 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.1903, allocations: 206.1 kB / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.1903, allocations: 0 / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1903, allocations: 0 / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1903, allocations: 6.125 kB / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1905, allocations: 295.4 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1905, allocations: 0 / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.1905, allocations: 8.625 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1905, allocations: 2.781 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1905, allocations: 11.08 kB / 449.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1905, allocations: 11.89 kB / 449.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1905, allocations: 0 / 449.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1907, allocations: 224.2 kB / 449.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1907, allocations: 60.62 kB / 449.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1907, allocations: 10.75 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.1908, allocations: 2.844 kB / 449.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1908, allocations: 12.5 kB / 449.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1908, allocations: 9.281 kB / 449.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004117/0.1913, allocations: 0.7909 MB / 450.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1913, allocations: 4 kB / 450.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.1914, allocations: 48.59 kB / 450.7 MB, free: 41.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009232/0.1924, allocations: 1.092 MB / 451.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1925, allocations: 85.95 kB / 451.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1925, allocations: 0 / 451.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.1926, allocations: 47.62 kB / 451.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1928, allocations: 76.48 kB / 452 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1961, allocations: 4.627 MB / 456.6 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.1962, allocations: 240.9 kB / 456.9 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.167e-05/0.1963, allocations: 64.84 kB / 456.9 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1964, allocations: 153.3 kB / 457.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1964, allocations: 0 / 457.1 MB, free: 37.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.2171, allocations: 10.15 MB / 467.2 MB, free: 35.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/7.014, allocations: 7.031 kB / 467.2 MB, free: 35.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.06224093772471]