Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007803/0.0007803, 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.0007922/0.0007922, 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.8659/0.8659, allocations: 177.1 MB / 204.2 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.2352/0.2352, allocations: 34.24 MB / 294.9 MB, free: 0.7305 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.503e-05, allocations: 2.281 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.1713/0.1713, allocations: 1.782 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1725, allocations: 1.058 MB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1725, allocations: 0 / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1729, allocations: 308.4 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1732, allocations: 266 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1734, allocations: 102.6 kB / 445.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1736, allocations: 273.3 kB / 446 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.1736, allocations: 7.781 kB / 446 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1738, allocations: 155 kB / 446.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.174, allocations: 204.5 kB / 446.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.174, allocations: 5.688 kB / 446.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.1741, allocations: 51.97 kB / 446.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.1742, allocations: 142.1 kB / 446.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1742, allocations: 80.17 kB / 446.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1745, allocations: 360 kB / 447 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1745, allocations: 0 / 447 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1745, allocations: 0 / 447 MB, free: 42.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1745, allocations: 0 / 447 MB, free: 42.74 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.0005765/0.1751, allocations: 0.6757 MB / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1751, allocations: 12.66 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.1751, allocations: 39.19 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1752, allocations: 51.83 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1755, allocations: 393.9 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1756, allocations: 3.062 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1756, allocations: 7.188 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1757, allocations: 93.52 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1757, allocations: 1.062 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1757, allocations: 2.938 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1757, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.719e-05/0.1758, allocations: 35.27 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.176, allocations: 334.2 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1762, allocations: 101.9 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.1763, allocations: 41.81 kB / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1763, allocations: 0 / 448.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.1764, allocations: 118.2 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.1764, allocations: 4 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002914/0.1767, allocations: 210.7 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1767, allocations: 80.44 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.1773, allocations: 1.06 MB / 450.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.1773, allocations: 29.7 kB / 450.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.1774, allocations: 239.3 kB / 450.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1774, allocations: 29.8 kB / 450.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1775, allocations: 32.72 kB / 450.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.1775, allocations: 368.7 kB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.1776, allocations: 31.56 kB / 450.9 MB, free: 40.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.1776, allocations: 61.28 kB / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.1777, allocations: 90.81 kB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1777, allocations: 6.328 kB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000153/0.1779, allocations: 175.8 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1779, allocations: 5.781 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1779, allocations: 64 / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1779, allocations: 6.812 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.178, allocations: 24.77 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.178, allocations: 6.75 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.178, allocations: 13.3 kB / 451.3 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.178, allocations: 5.656 kB / 451.3 MB, free: 40.11 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.0001148/0.1782, allocations: 228.9 kB / 451.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1782, allocations: 61.47 kB / 451.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1784, allocations: 202.8 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1784, allocations: 4 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1784, allocations: 2.781 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1784, allocations: 3.422 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1786, allocations: 292.2 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1786, allocations: 0 / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.1786, allocations: 8.562 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1786, allocations: 7.906 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1786, allocations: 3.281 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1786, allocations: 2.406 kB / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1786, allocations: 0 / 452.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1788, allocations: 232.3 kB / 452.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.1788, allocations: 72.41 kB / 452.4 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1789, allocations: 6.625 kB / 452.4 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.1789, allocations: 6.875 kB / 452.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1789, allocations: 11.95 kB / 452.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1789, allocations: 2.906 kB / 452.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004114/0.1794, allocations: 0.7915 MB / 453.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1794, allocations: 2.062 kB / 453.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.1795, allocations: 45.5 kB / 453.3 MB, free: 39.16 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.0008712/0.1804, allocations: 1.107 MB / 454.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1805, allocations: 86.19 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1805, allocations: 2.75 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.1806, allocations: 43.7 kB / 454.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1809, allocations: 66.17 kB / 454.6 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.184, allocations: 4.633 MB / 459.2 MB, free: 36.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.1841, allocations: 243.1 kB / 459.5 MB, free: 36.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.618e-05/0.1842, allocations: 57.28 kB / 459.5 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1843, allocations: 152 kB / 459.7 MB, free: 36.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1843, allocations: 0 / 459.7 MB, free: 36.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2032, allocations: 10.13 MB / 469.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/7.041, allocations: 14.31 kB / 469.8 MB, free: 34.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.968214767985046]