Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0007813/0.0007813, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.0007792/0.0007792, allocations: 165.3 kB / 23.95 MB, free: 0.6055 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.8901/0.8901, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2288/0.2288, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.419e-05, allocations: 2.281 kB / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.1717/0.1717, allocations: 1.922 MB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1729, allocations: 1.138 MB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.173, allocations: 2.656 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.1735, allocations: 210.8 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1738, allocations: 213.8 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1741, allocations: 165.5 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1742, allocations: 273.8 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.1743, allocations: 12.25 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1745, allocations: 151.6 kB / 446.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1746, allocations: 99.02 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1746, allocations: 10.91 kB / 446.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1747, allocations: 65.09 kB / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1747, allocations: 61.02 kB / 446.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1748, allocations: 47.83 kB / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.175, allocations: 247.8 kB / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.175, allocations: 0 / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.175, allocations: 0 / 446.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.175, allocations: 2.938 kB / 446.8 MB, free: 42.64 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005015/0.1755, allocations: 490.8 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1755, allocations: 12.69 kB / 447.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.264e-05/0.1755, allocations: 44.06 kB / 447.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1756, allocations: 28.47 kB / 447.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1758, allocations: 227.6 kB / 447.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1758, allocations: 7.375 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1758, allocations: 7.188 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.176, allocations: 104.9 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.176, allocations: 1.125 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.176, allocations: 0.5 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.176, allocations: 2.906 kB / 447.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.1761, allocations: 42.23 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1764, allocations: 345.2 kB / 448.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1765, allocations: 119.6 kB / 448.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1765, allocations: 41.67 kB / 448.3 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1766, allocations: 0 / 448.3 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.1767, allocations: 120.6 kB / 448.4 MB, free: 41.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 7.71e-07/0.1767, allocations: 0 / 448.4 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000266/0.177, allocations: 193.4 kB / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.177, allocations: 80.02 kB / 448.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1772, allocations: 366.6 kB / 449 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.1772, allocations: 25.7 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.1772, allocations: 142.3 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1773, allocations: 36.48 kB / 449.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1773, allocations: 32.48 kB / 449.3 MB, free: 40.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.1773, allocations: 342.2 kB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.1774, allocations: 39.52 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.1774, allocations: 101.7 kB / 449.7 MB, free: 40.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.1775, allocations: 96.2 kB / 449.8 MB, free: 40.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1775, allocations: 2.438 kB / 449.8 MB, free: 40.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001403/0.1777, allocations: 150.4 kB / 450 MB, free: 40.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1777, allocations: 5.781 kB / 450 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1777, allocations: 4.094 kB / 450 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1777, allocations: 2.969 kB / 450 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.1778, allocations: 27.84 kB / 450 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1778, allocations: 3.188 kB / 450 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1778, allocations: 16.91 kB / 450 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1778, allocations: 5.781 kB / 450 MB, free: 40.25 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.647e-05/0.1779, allocations: 153.7 kB / 450.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1779, allocations: 23.61 kB / 450.2 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.1781, allocations: 179.3 kB / 450.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1781, allocations: 0 / 450.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1781, allocations: 3 kB / 450.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1781, allocations: 0 / 450.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1782, allocations: 218.9 kB / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1782, allocations: 3.094 kB / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.1782, allocations: 15.88 kB / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1782, allocations: 0 / 450.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1782, allocations: 7 kB / 450.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1782, allocations: 1.312 kB / 450.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1783, allocations: 0 / 450.6 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1784, allocations: 207.4 kB / 450.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.1784, allocations: 21.05 kB / 450.9 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1784, allocations: 6.844 kB / 450.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.1785, allocations: 16.41 kB / 450.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1785, allocations: 10.03 kB / 450.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1785, allocations: 5.906 kB / 450.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1787, allocations: 266.8 kB / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1787, allocations: 0 / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1788, allocations: 40.78 kB / 451.2 MB, free: 39.52 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0008701/0.1797, allocations: 1.084 MB / 452.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1799, allocations: 94.38 kB / 452.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1799, allocations: 2.75 kB / 452.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.1799, allocations: 50.67 kB / 452.4 MB, free: 38.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.1802, allocations: 65.75 kB / 452.5 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1816, allocations: 2.392 MB / 454.9 MB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.1817, allocations: 137.7 kB / 455 MB, free: 37.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.1818, allocations: 35.8 kB / 455 MB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1819, allocations: 70.22 kB / 455.1 MB, free: 37 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1819, allocations: 0 / 455.1 MB, free: 37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1986, allocations: 6.755 MB / 461.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/6.936, allocations: 13.69 kB / 461.9 MB, free: 35.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 8.860801818780601]