Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.0008119/0.0008119, 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.0008784/0.0008784, allocations: 170 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.8917/0.8917, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2448/0.2448, allocations: 34.24 MB / 294.9 MB, free: 0.7148 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.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.243e-05, allocations: 4.672 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.1739/0.174, allocations: 1.657 MB / 443.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.175, allocations: 0.9583 MB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1751, allocations: 2.844 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1754, allocations: 66.66 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1757, allocations: 105.3 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.1758, allocations: 86.06 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1759, allocations: 111.2 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.176, allocations: 5.672 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.1761, allocations: 57 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.1761, allocations: 50.89 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1761, allocations: 2.781 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.1762, allocations: 26.72 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1763, allocations: 16.81 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1763, allocations: 23.16 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1764, allocations: 103.1 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1764, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1765, allocations: 0 / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1765, allocations: 0.7188 kB / 445.5 MB, free: 43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003649/0.1768, allocations: 336.9 kB / 445.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1769, allocations: 12.28 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.334e-05/0.1769, allocations: 41.91 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1769, allocations: 17.86 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1771, allocations: 139.2 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1771, allocations: 1.188 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.1771, allocations: 4.75 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1772, allocations: 59.77 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1772, allocations: 3.812 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1772, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1772, allocations: 0 / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.1773, allocations: 16 kB / 446.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/0.1774, allocations: 157.8 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1775, allocations: 54.05 kB / 446.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.1775, allocations: 17.45 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1775, allocations: 2.875 kB / 446.4 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.1776, allocations: 69.58 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1776, allocations: 0 / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001859/0.1778, allocations: 108.1 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.1779, allocations: 54.06 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.178, allocations: 196.9 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.178, allocations: 27.98 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.178, allocations: 105.5 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.178, allocations: 18.3 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.178, allocations: 22.67 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.341e-05/0.1781, allocations: 320.4 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.1781, allocations: 14.34 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.1781, allocations: 33.59 kB / 447.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.1782, allocations: 46.8 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1782, allocations: 3.312 kB / 447.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.957e-05/0.1783, allocations: 80.89 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1783, allocations: 9.281 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1783, allocations: 0 / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1783, allocations: 2.938 kB / 447.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.1784, allocations: 16.66 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1784, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.1784, allocations: 15.44 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1784, allocations: 6.938 kB / 447.5 MB, free: 41.48 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 (7): * Single equations (assignments): 7 * 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.447e-05/0.1785, allocations: 120.4 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1785, allocations: 13.61 kB / 447.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1786, allocations: 95.23 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1786, allocations: 7.266 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1786, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1786, allocations: 0 / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.534e-05/0.1787, allocations: 154.7 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1787, allocations: 3.188 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.1787, allocations: 5.844 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1787, allocations: 10.42 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1787, allocations: 2.969 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1787, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1787, allocations: 0 / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.1788, allocations: 117.7 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.1788, allocations: 13.61 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1788, allocations: 0 / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.1788, allocations: 6.188 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1789, allocations: 3.25 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1789, allocations: 3 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.1789, allocations: 161.7 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 0 / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.1791, allocations: 20.19 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008064/0.1799, allocations: 0.9919 MB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.18, allocations: 45 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.18, allocations: 3.062 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.18, allocations: 18.8 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.1802, allocations: 37.67 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.1811, allocations: 1.521 MB / 450.8 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.1811, allocations: 90.28 kB / 450.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.1811, allocations: 16.95 kB / 450.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.1812, allocations: 33.48 kB / 451 MB, free: 38.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1812, allocations: 0 / 451 MB, free: 38.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1953, allocations: 3.97 MB / 454.9 MB, free: 37.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.921, allocations: 3.125 kB / 454.9 MB, free: 37.61 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.844929730519652]