Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.0008981/0.0008981, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009907/0.0009907, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8902/0.8902, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.25e-05, allocations: 2.281 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.175/0.175, allocations: 2.164 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1763, allocations: 1.274 MB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1764, allocations: 8.969 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1768, allocations: 140.9 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1771, allocations: 267 kB / 446.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1774, allocations: 194.3 kB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1777, allocations: 478.9 kB / 446.8 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1778, allocations: 41.33 kB / 446.8 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.178, allocations: 387.3 kB / 447.2 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1781, allocations: 139.8 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.1782, allocations: 17.91 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1783, allocations: 77.12 kB / 447.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.1784, allocations: 164.6 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.1784, allocations: 99.28 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1787, allocations: 467.5 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1787, allocations: 2.938 kB / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1787, allocations: 0 / 448.1 MB, free: 42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1787, allocations: 0 / 448.1 MB, free: 42 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006283/0.1794, allocations: 0.8337 MB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1794, allocations: 11.06 kB / 449 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.1794, allocations: 47.77 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1795, allocations: 71 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1798, allocations: 365.5 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1798, allocations: 9.938 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1798, allocations: 22.89 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1801, allocations: 206.5 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1801, allocations: 0 / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1801, allocations: 10.47 kB / 449.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1801, allocations: 5.281 kB / 449.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1802, allocations: 101.4 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.1807, allocations: 0.7886 MB / 450.6 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1811, allocations: 243.8 kB / 450.8 MB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.1812, allocations: 86.59 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1812, allocations: 6.938 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1814, allocations: 200.3 kB / 451.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.233e-06/0.1814, allocations: 0 / 451.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001269/0.1827, allocations: 1.226 MB / 452.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1827, allocations: 138.1 kB / 452.5 MB, free: 39.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.1833, allocations: 0.9694 MB / 453.5 MB, free: 38.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1833, allocations: 36.61 kB / 453.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1834, allocations: 282.9 kB / 453.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1834, allocations: 148.1 kB / 453.9 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1835, allocations: 82.53 kB / 454 MB, free: 38.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.1835, allocations: 324.3 kB / 454.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1837, allocations: 122.5 kB / 454.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1838, allocations: 190.2 kB / 454.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1841, allocations: 332.9 kB / 454.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1841, allocations: 0 / 454.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003864/0.1845, allocations: 455.8 kB / 455.4 MB, free: 37.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1845, allocations: 8.75 kB / 455.4 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1845, allocations: 3.062 kB / 455.4 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1845, allocations: 3.125 kB / 455.4 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1847, allocations: 95.06 kB / 455.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1847, allocations: 8.75 kB / 455.5 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.1847, allocations: 23.89 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1848, allocations: 18.28 kB / 455.5 MB, free: 37.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001526/0.1849, allocations: 262.9 kB / 455.8 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.185, allocations: 80.97 kB / 455.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.1855, allocations: 0.5345 MB / 456.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1855, allocations: 7.625 kB / 456.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1855, allocations: 4 kB / 456.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1855, allocations: 3.188 kB / 456.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.1863, allocations: 1.314 MB / 457.7 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1864, allocations: 2.5 kB / 457.7 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.1864, allocations: 68.61 kB / 457.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1864, allocations: 7.094 kB / 457.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1865, allocations: 20.33 kB / 457.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1865, allocations: 6.25 kB / 457.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1865, allocations: 2.906 kB / 457.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.1869, allocations: 0.8279 MB / 458.7 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.187, allocations: 110.6 kB / 458.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.187, allocations: 21.11 kB / 458.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1872, allocations: 20.47 kB / 458.8 MB, free: 35.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1872, allocations: 51.56 kB / 458.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1872, allocations: 20.05 kB / 458.9 MB, free: 35.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004131/0.1877, allocations: 0.716 MB / 459.6 MB, free: 35.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1877, allocations: 3.938 kB / 459.6 MB, free: 35.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.188, allocations: 90.44 kB / 459.7 MB, free: 35.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00165/0.1897, allocations: 1.839 MB / 461.5 MB, free: 34.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.1901, allocations: 311.6 kB / 461.8 MB, free: 33.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1901, allocations: 0 / 461.8 MB, free: 33.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1902, allocations: 162.5 kB / 462 MB, free: 33.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1908, allocations: 140.6 kB / 462.1 MB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.1942, allocations: 5.206 MB / 467.3 MB, free: 30.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.1944, allocations: 325.5 kB / 467.7 MB, free: 30.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1945, allocations: 79.61 kB / 467.7 MB, free: 30.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1947, allocations: 216.1 kB / 467.9 MB, free: 30.68 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1947, allocations: 0 / 467.9 MB, free: 30.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2161, allocations: 12.74 MB / 480.7 MB, free: 28.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.143, allocations: 12.02 kB / 480.7 MB, free: 28.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.137571662664413]