Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0008166/0.0008166, 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.001224/0.001224, allocations: 170 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.8963/0.8963, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2554/0.2554, allocations: 34.24 MB / 294.9 MB, free: 0.707 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.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.994e-05, allocations: 4.25 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.1693/0.1693, allocations: 1.868 MB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1704, allocations: 1.075 MB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.1705, allocations: 2.312 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.1709, allocations: 164.8 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.1712, allocations: 188.8 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.1713, allocations: 118 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1715, allocations: 254.9 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1716, allocations: 14.44 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1717, allocations: 139.8 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1719, allocations: 127.5 kB / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1719, allocations: 7.812 kB / 446.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.172, allocations: 69.41 kB / 446.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.172, allocations: 55.23 kB / 446.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1721, allocations: 48.52 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1723, allocations: 228.8 kB / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1723, allocations: 0 / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1723, allocations: 0 / 446.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1723, allocations: 0 / 446.6 MB, free: 42.71 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004658/0.1728, allocations: 479.3 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1728, allocations: 8.062 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1728, allocations: 40.92 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.1729, allocations: 30.09 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1731, allocations: 210.4 kB / 447.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1731, allocations: 5.594 kB / 447.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1732, allocations: 9.938 kB / 447.4 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1733, allocations: 121.5 kB / 447.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1733, allocations: 3.375 kB / 447.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1734, allocations: 3.688 kB / 447.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1734, allocations: 5.062 kB / 447.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.1734, allocations: 51.52 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.1738, allocations: 435.2 kB / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.174, allocations: 122.8 kB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1741, allocations: 44.16 kB / 448.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1741, allocations: 2.906 kB / 448.1 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.1742, allocations: 129.2 kB / 448.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.1742, allocations: 0 / 448.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007385/0.175, allocations: 0.498 MB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.175, allocations: 79.89 kB / 448.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1752, allocations: 385.9 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1752, allocations: 36.58 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1753, allocations: 150.5 kB / 449.4 MB, free: 40.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.1753, allocations: 73.47 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1753, allocations: 41.56 kB / 449.5 MB, free: 40.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.1754, allocations: 341 kB / 449.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.1755, allocations: 61.16 kB / 449.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.1755, allocations: 96.47 kB / 450 MB, free: 40.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1757, allocations: 160.1 kB / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1757, allocations: 0 / 450.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002176/0.1759, allocations: 242.7 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1759, allocations: 5.125 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1759, allocations: 1.312 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1759, allocations: 10.33 kB / 450.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.176, allocations: 42.2 kB / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.176, allocations: 2.062 kB / 450.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1761, allocations: 17.2 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1761, allocations: 9.812 kB / 450.5 MB, free: 40.14 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.822e-05/0.1761, allocations: 165.3 kB / 450.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1762, allocations: 29.91 kB / 450.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1764, allocations: 273.6 kB / 450.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1764, allocations: 6.75 kB / 450.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1764, allocations: 0 / 450.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1765, allocations: 7.078 kB / 451 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.1769, allocations: 0.6983 MB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1769, allocations: 2.719 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.177, allocations: 32.77 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.177, allocations: 2.75 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.177, allocations: 13.28 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.177, allocations: 2.625 kB / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.177, allocations: 0 / 451.7 MB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1772, allocations: 439.2 kB / 452.1 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.1772, allocations: 24.03 kB / 452.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1772, allocations: 12.89 kB / 452.2 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1773, allocations: 10.91 kB / 452.2 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1774, allocations: 30.64 kB / 452.2 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1774, allocations: 9.062 kB / 452.2 MB, free: 39.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1775, allocations: 286.9 kB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1775, allocations: 0 / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.1777, allocations: 48.47 kB / 452.5 MB, free: 38.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001058/0.1788, allocations: 1.436 MB / 454 MB, free: 37.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.179, allocations: 155.2 kB / 454.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.179, allocations: 0 / 454.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.1791, allocations: 81.55 kB / 454.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1794, allocations: 66.31 kB / 454.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.181, allocations: 2.742 MB / 457 MB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.057e-05/0.1811, allocations: 155 kB / 457.2 MB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.1812, allocations: 43.42 kB / 457.2 MB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.1812, allocations: 87.83 kB / 457.3 MB, free: 35.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1812, allocations: 0 / 457.3 MB, free: 35.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.1989, allocations: 7.054 MB / 464.4 MB, free: 34.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.945, allocations: 10.78 kB / 464.4 MB, free: 34.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.946533527225256]