Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0007927/0.0007927, 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.0009861/0.0009861, 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.8883/0.8883, 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.2668/0.2668, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.744e-05, allocations: 5.234 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.1759/0.1759, allocations: 1.707 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.1769, allocations: 0.9792 MB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.1769, allocations: 0 / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1772, allocations: 50.69 kB / 445 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1774, allocations: 101.1 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.1776, allocations: 83.52 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1777, allocations: 104.2 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1778, allocations: 11.53 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.1779, allocations: 62.92 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.178, allocations: 24.92 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.178, allocations: 5.969 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.1781, allocations: 38.84 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1781, allocations: 37.66 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1782, allocations: 17.09 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1784, allocations: 137.7 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1784, allocations: 0 / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1784, allocations: 2.812 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1784, allocations: 0 / 445.6 MB, free: 42.91 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.0004002/0.1788, allocations: 378.3 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1788, allocations: 8.781 kB / 446 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.35e-05/0.1788, allocations: 34.03 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.1789, allocations: 17.19 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.179, allocations: 161.5 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1791, allocations: 3.281 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.1791, allocations: 3.844 kB / 446.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1792, allocations: 58.27 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1792, allocations: 0 / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.1792, allocations: 3.625 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1792, allocations: 2.812 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.1793, allocations: 29.98 kB / 446.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1795, allocations: 259.9 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1796, allocations: 55.8 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.1796, allocations: 24.27 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1796, allocations: 0 / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.1798, allocations: 77.27 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1798, allocations: 2.594 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003631/0.1801, allocations: 191.9 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.1801, allocations: 51.91 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1803, allocations: 275.3 kB / 447.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1803, allocations: 29.03 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1803, allocations: 120.1 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1804, allocations: 29.03 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.1804, allocations: 22.16 kB / 447.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.1804, allocations: 333.4 kB / 447.7 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.1805, allocations: 17.59 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.1805, allocations: 41.12 kB / 447.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.515e-05/0.1806, allocations: 60.31 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1806, allocations: 3.531 kB / 447.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.1807, allocations: 105.4 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1807, allocations: 5.844 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1807, allocations: 0 / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1807, allocations: 5.078 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.1808, allocations: 21.22 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1808, allocations: 2.156 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.1808, allocations: 6.406 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1808, allocations: 6.781 kB / 448 MB, free: 41.25 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 6.609e-05/0.1809, allocations: 138.2 kB / 448.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1809, allocations: 17.55 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1811, allocations: 127.8 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1811, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1811, allocations: 4.391 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1811, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1813, allocations: 382 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1813, allocations: 0 / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.1813, allocations: 12.84 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1813, allocations: 2.906 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1813, allocations: 7.375 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1813, allocations: 6.906 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1813, allocations: 11.81 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1814, allocations: 214.1 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.1814, allocations: 14.81 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1815, allocations: 2.844 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.1815, allocations: 2.906 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1815, allocations: 14.05 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1815, allocations: 10.16 kB / 449 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.1816, allocations: 208.1 kB / 449.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1816, allocations: 0 / 449.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.1818, allocations: 31.61 kB / 449.2 MB, free: 40.43 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.0008401/0.1826, allocations: 1.138 MB / 450.3 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1827, allocations: 61.86 kB / 450.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1827, allocations: 0 / 450.4 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.1828, allocations: 27.92 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.183, allocations: 40.83 kB / 450.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.1839, allocations: 1.845 MB / 452.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.184, allocations: 115.1 kB / 452.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.184, allocations: 16.44 kB / 452.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.1841, allocations: 41.83 kB / 452.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1841, allocations: 0 / 452.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.1983, allocations: 4.622 MB / 457.1 MB, free: 36.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.859, allocations: 5.219 kB / 457.1 MB, free: 36.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.85965130571276]