Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8992/0.8992, allocations: 177 MB / 204.1 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.792e-05, allocations: 5.094 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.1706/0.1706, allocations: 1.876 MB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1717, allocations: 1.076 MB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.1718, allocations: 2.75 kB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.1722, allocations: 225.1 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1725, allocations: 216.2 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1727, allocations: 119.2 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1729, allocations: 266.2 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.173, allocations: 24.31 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1731, allocations: 145.5 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1732, allocations: 159.9 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1732, allocations: 7.875 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.1733, allocations: 60.81 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1734, allocations: 67.89 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.1734, allocations: 43.77 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1737, allocations: 247.1 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1737, allocations: 0 / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1737, allocations: 0 / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1737, allocations: 0 / 446.8 MB, free: 42.55 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.0006494/0.1744, allocations: 0.4906 MB / 447.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/0.1745, allocations: 8.031 kB / 447.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1745, allocations: 44.06 kB / 447.3 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.1746, allocations: 34.06 kB / 447.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1749, allocations: 228.5 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.175, allocations: 3.188 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.175, allocations: 13.98 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.1752, allocations: 115.7 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1752, allocations: 3.562 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1753, allocations: 10.88 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1753, allocations: 0 / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1754, allocations: 57.89 kB / 447.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.1758, allocations: 429.4 kB / 448.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1761, allocations: 123.9 kB / 448.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.1761, allocations: 46.95 kB / 448.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1761, allocations: 6.75 kB / 448.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1763, allocations: 121.1 kB / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.1763, allocations: 0 / 448.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007849/0.1771, allocations: 0.5228 MB / 449 MB, free: 41.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1771, allocations: 87.14 kB / 449.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1774, allocations: 450.7 kB / 449.5 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1774, allocations: 32.55 kB / 449.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1774, allocations: 165 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1775, allocations: 77.8 kB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1775, allocations: 46.02 kB / 449.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.1776, allocations: 341.1 kB / 450.2 MB, free: 40.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1776, allocations: 58.11 kB / 450.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.1777, allocations: 100.8 kB / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1778, allocations: 161.7 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1778, allocations: 0 / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002058/0.178, allocations: 242.6 kB / 450.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1781, allocations: 5.5 kB / 450.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1781, allocations: 0 / 450.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1781, allocations: 2.875 kB / 450.7 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.1782, allocations: 45.09 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1782, allocations: 12.66 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1782, allocations: 6.844 kB / 450.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1782, allocations: 12.12 kB / 450.8 MB, free: 39.9 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 8.836e-05/0.1783, allocations: 167.7 kB / 451 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1783, allocations: 37.22 kB / 451 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.1786, allocations: 283.9 kB / 451.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1786, allocations: 2.875 kB / 451.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1786, allocations: 10.81 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1786, allocations: 3.328 kB / 451.3 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.1791, allocations: 0.6999 MB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1791, allocations: 6.297 kB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1792, allocations: 34.16 kB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1792, allocations: 2.938 kB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1792, allocations: 2.469 kB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1792, allocations: 2.656 kB / 452 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1792, allocations: 10.72 kB / 452 MB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1794, allocations: 438 kB / 452.5 MB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.1794, allocations: 28.33 kB / 452.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1794, allocations: 9.812 kB / 452.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1795, allocations: 10.11 kB / 452.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1796, allocations: 27.11 kB / 452.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1796, allocations: 15.2 kB / 452.6 MB, free: 38.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1798, allocations: 341.1 kB / 452.9 MB, free: 38.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1798, allocations: 3.75 kB / 452.9 MB, free: 38.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.18, allocations: 57.39 kB / 453 MB, free: 38.61 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.001229/0.1812, allocations: 1.396 MB / 454.3 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1814, allocations: 159.6 kB / 454.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1814, allocations: 0 / 454.5 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.1815, allocations: 85.23 kB / 454.6 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1819, allocations: 71.88 kB / 454.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1838, allocations: 2.918 MB / 457.6 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.1838, allocations: 169.3 kB / 457.7 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.367e-05/0.1839, allocations: 38.98 kB / 457.8 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.184, allocations: 105.2 kB / 457.9 MB, free: 35.48 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.184, allocations: 0 / 457.9 MB, free: 35.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.2026, allocations: 7.389 MB / 465.3 MB, free: 33.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/7.013, allocations: 7.938 kB / 465.3 MB, free: 33.7 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.990421964786947]