Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0008761/0.0008761, allocations: 79.7 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.001298/0.001298, 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.9333/0.9333, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2841/0.2841, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.25e-05, allocations: 4.25 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002285/0.002308, allocations: 1.72 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003429, allocations: 0.9741 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.003506, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.003785, allocations: 31.77 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.00407, allocations: 107.5 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.004253, allocations: 79.66 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004403, allocations: 107.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.004493, allocations: 8 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.004573, allocations: 59.81 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.004642, allocations: 23.92 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.004657, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.004736, allocations: 47.91 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.00479, allocations: 23.86 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.004824, allocations: 15.94 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005001, allocations: 115.6 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005003, allocations: 4 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005004, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.00501, allocations: 0 / 443 MB, free: 0.8359 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.0004568/0.005466, allocations: 357.4 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005503, allocations: 8.031 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.005531, allocations: 38.69 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.005561, allocations: 8.891 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.005785, allocations: 154.2 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.005796, allocations: 384 / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.005815, allocations: 4.375 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.005935, allocations: 61.98 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005945, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.005955, allocations: 3.984 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.005959, allocations: 0 / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.006011, allocations: 19.98 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1854/0.1914, allocations: 250.3 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1916, allocations: 59.47 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1917, allocations: 16.64 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1917, allocations: 4.094 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.1918, allocations: 69.52 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.1918, allocations: 4.594 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004497/0.1923, allocations: 191.4 kB / 444.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1923, allocations: 53.66 kB / 444.3 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1924, allocations: 205.7 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.1924, allocations: 25.7 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.1924, allocations: 107.4 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1925, allocations: 26.39 kB / 444.6 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1925, allocations: 29.64 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.1925, allocations: 320.2 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1926, allocations: 22.62 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.1926, allocations: 40.67 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.1927, allocations: 58.77 kB / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1927, allocations: 0 / 445.1 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.1928, allocations: 112.3 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1928, allocations: 5.719 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1928, allocations: 6.812 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1928, allocations: 0 / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1929, allocations: 14.86 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1929, allocations: 6.109 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.1929, allocations: 6.75 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1929, allocations: 10.08 kB / 445.2 MB, free: 45.55 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 5.358e-05/0.193, allocations: 125.2 kB / 445.4 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.193, allocations: 13.64 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1931, allocations: 121.5 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1931, allocations: 3.312 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1931, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1931, allocations: 3.422 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1934, allocations: 379.3 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1934, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.1934, allocations: 12.12 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1934, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1934, allocations: 5.062 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1934, allocations: 5.312 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1934, allocations: 3 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1935, allocations: 215.4 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.1935, allocations: 10.91 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1936, allocations: 2.875 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.1936, allocations: 3.234 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1936, allocations: 13.11 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1936, allocations: 2.812 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.1937, allocations: 149.5 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1937, allocations: 3.312 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.1939, allocations: 27.08 kB / 446.3 MB, free: 44.84 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.0008926/0.1948, allocations: 1.148 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1949, allocations: 58.19 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1949, allocations: 3.938 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.1949, allocations: 33.3 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.1952, allocations: 19.12 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009498/0.1961, allocations: 1.682 MB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.1962, allocations: 89.22 kB / 449.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.1962, allocations: 21.17 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1962, allocations: 39.61 kB / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1962, allocations: 0 / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.212, allocations: 4.294 MB / 453.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/6.873, allocations: 2.656 kB / 453.7 MB, free: 41.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.940018993802369]