Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001174/0.001174, allocations: 79.69 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.0008601/0.0008601, allocations: 170 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.8814/0.8814, 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.2646/0.2646, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.071e-05, allocations: 4.25 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.1723/0.1723, allocations: 1.723 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1734, allocations: 0.9759 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.1734, allocations: 3.938 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1737, allocations: 51.52 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1739, allocations: 105.3 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.1741, allocations: 78.56 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1742, allocations: 134.2 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.1743, allocations: 13.3 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.1744, allocations: 69.09 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1745, allocations: 43.2 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1745, allocations: 6.781 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.1746, allocations: 61.27 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1746, allocations: 39.56 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1746, allocations: 22 kB / 445.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1748, allocations: 150.7 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1748, allocations: 1.219 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1748, allocations: 2.906 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1748, allocations: 0 / 445.7 MB, free: 42.94 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003521/0.1752, allocations: 361 kB / 446.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1752, allocations: 14.91 kB / 446.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.1752, allocations: 38.06 kB / 446.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1753, allocations: 18.34 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1754, allocations: 159.8 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1755, allocations: 4.25 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1755, allocations: 7.562 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1756, allocations: 77.42 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1756, allocations: 6.922 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1756, allocations: 12.73 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1756, allocations: 0 / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1757, allocations: 53.14 kB / 446.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.176, allocations: 292.9 kB / 446.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1761, allocations: 92.58 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.1762, allocations: 28.5 kB / 446.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1762, allocations: 3 kB / 446.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.743e-05/0.1763, allocations: 80.52 kB / 447 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.1763, allocations: 2.031 kB / 447 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005226/0.1768, allocations: 324.9 kB / 447.3 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.1768, allocations: 51.41 kB / 447.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1769, allocations: 210.9 kB / 447.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.177, allocations: 32.3 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.177, allocations: 103.4 kB / 447.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.177, allocations: 50.62 kB / 447.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.177, allocations: 31.55 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.942e-05/0.1771, allocations: 324.4 kB / 448.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.1771, allocations: 44.31 kB / 448.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/0.1772, allocations: 61.64 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.166e-05/0.1772, allocations: 104.9 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1772, allocations: 4 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000138/0.1774, allocations: 164.9 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1774, allocations: 5.625 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1774, allocations: 0 / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1774, allocations: 0 / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.1775, allocations: 29.75 kB / 448.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1775, allocations: 3.188 kB / 448.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.1775, allocations: 6.781 kB / 448.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1775, allocations: 2.938 kB / 448.5 MB, free: 41.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 5.66e-05/0.1776, allocations: 137.3 kB / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1776, allocations: 15.38 kB / 448.6 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.1778, allocations: 198.1 kB / 448.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1778, allocations: 2.844 kB / 448.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1778, allocations: 0 / 448.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1778, allocations: 0 / 448.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1781, allocations: 479.6 kB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1781, allocations: 3.938 kB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.1781, allocations: 23.39 kB / 449.3 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1781, allocations: 8 kB / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1782, allocations: 6.75 kB / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1782, allocations: 6.109 kB / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1782, allocations: 0 / 449.3 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1783, allocations: 280.4 kB / 449.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.1783, allocations: 13.47 kB / 449.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1783, allocations: 9.969 kB / 449.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.1784, allocations: 10.38 kB / 449.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.1784, allocations: 9.828 kB / 449.7 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1784, allocations: 13.52 kB / 449.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.1785, allocations: 154.5 kB / 449.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1785, allocations: 2.812 kB / 449.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.1787, allocations: 34.09 kB / 449.9 MB, free: 40.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009789/0.1796, allocations: 1.262 MB / 451.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1798, allocations: 109.1 kB / 451.2 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.1798, allocations: 0 / 451.2 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.1798, allocations: 64.52 kB / 451.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1801, allocations: 48.22 kB / 451.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1811, allocations: 1.899 MB / 453.2 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.12e-05/0.1811, allocations: 107.9 kB / 453.3 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.1812, allocations: 42.05 kB / 453.4 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1812, allocations: 50.56 kB / 453.4 MB, free: 37.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1812, allocations: 0 / 453.4 MB, free: 37.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.1951, allocations: 4.989 MB / 458.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.826, allocations: 0 / 458.4 MB, free: 36.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.781795206479728]