Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001123/0.001123, 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.001061/0.001061, 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.9/0.9, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2495/0.2495, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.492e-05, allocations: 2.281 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.1745/0.1746, allocations: 1.704 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1756, allocations: 0.9755 MB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1757, allocations: 2.812 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.176, allocations: 40.89 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1762, allocations: 92.8 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.1764, allocations: 87.14 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1765, allocations: 105.8 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.1766, allocations: 7.156 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1767, allocations: 59.97 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.1767, allocations: 24.66 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1767, allocations: 6.188 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.1768, allocations: 45.55 kB / 445.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1769, allocations: 21.39 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.1769, allocations: 19.34 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.177, allocations: 114 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1771, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1771, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1771, allocations: 0.6875 kB / 445.6 MB, free: 42.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004041/0.1775, allocations: 349.2 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1775, allocations: 10.53 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.1775, allocations: 36.66 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1776, allocations: 10.33 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1778, allocations: 150.5 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1778, allocations: 3.219 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1778, allocations: 3.25 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1779, allocations: 62.92 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.178, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.178, allocations: 3.625 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.178, allocations: 2.969 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.178, allocations: 21.59 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.1783, allocations: 260.3 kB / 446.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1784, allocations: 55.2 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.1785, allocations: 20.92 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1785, allocations: 0.9375 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.1786, allocations: 75.56 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1786, allocations: 0.5 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003758/0.179, allocations: 177.2 kB / 446.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.179, allocations: 62 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.1791, allocations: 184.2 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.1791, allocations: 28.36 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.1791, allocations: 102.9 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1792, allocations: 22.23 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1792, allocations: 27.27 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.1792, allocations: 327.2 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.1792, allocations: 20.45 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.1793, allocations: 38.67 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.74e-05/0.1793, allocations: 62.97 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1794, allocations: 0 / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.1795, allocations: 104.1 kB / 447.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1795, allocations: 13.05 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1795, allocations: 2.906 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1795, allocations: 0 / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.1795, allocations: 15.81 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1795, allocations: 5.156 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.1796, allocations: 7.234 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1796, allocations: 5.562 kB / 447.8 MB, free: 41.34 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 (10): * Single equations (assignments): 10 * 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 4.88e-05/0.1796, allocations: 119.2 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1796, allocations: 12.81 kB / 447.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.1798, allocations: 123.3 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1798, allocations: 2.906 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1798, allocations: 1.062 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1798, allocations: 3.281 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.18, allocations: 373 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.18, allocations: 0 / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.1801, allocations: 8.906 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1801, allocations: 9.188 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1801, allocations: 0 / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1801, allocations: 6.875 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1801, allocations: 7.969 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1802, allocations: 215.6 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.1802, allocations: 10.78 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1802, allocations: 2.938 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.1803, allocations: 3.281 kB / 448.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1803, allocations: 24.7 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1803, allocations: 3.094 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.1804, allocations: 139.4 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1804, allocations: 0 / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000173/0.1805, allocations: 28.11 kB / 448.9 MB, free: 40.58 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: 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 (9): * Single equations (assignments): 7 * 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.0009163/0.1815, allocations: 1.131 MB / 450 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1816, allocations: 56.39 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1816, allocations: 6.938 kB / 450.1 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.1816, allocations: 28.23 kB / 450.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1818, allocations: 37.36 kB / 450.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.1827, allocations: 1.651 MB / 451.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/0.1828, allocations: 92.66 kB / 451.9 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.984e-05/0.1828, allocations: 21.36 kB / 451.9 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1829, allocations: 36.64 kB / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1829, allocations: 0 / 451.9 MB, free: 38.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1987, allocations: 4.226 MB / 456.1 MB, free: 36.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.9, allocations: 9.719 kB / 456.1 MB, free: 36.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.862613466568291]