Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.0009544/0.0009544, allocations: 80.34 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.0009297/0.0009297, allocations: 156.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.9385/0.9385, allocations: 177 MB / 204.1 MB, free: 5.762 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.2646/0.2646, allocations: 34.24 MB / 294.8 MB, free: 0.6953 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.964e-05, allocations: 2.281 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.1868/0.1868, allocations: 1.747 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.188, allocations: 0.9821 MB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.1881, allocations: 5.875 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.1883, allocations: 104 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1886, allocations: 130.4 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.1887, allocations: 81.34 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1889, allocations: 145 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.1889, allocations: 14.55 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.189, allocations: 78.2 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.1891, allocations: 73.22 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1891, allocations: 5.5 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.1892, allocations: 62.77 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1893, allocations: 37.23 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1893, allocations: 25.67 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1895, allocations: 158.9 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1895, allocations: 0 / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1895, allocations: 3.156 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1895, allocations: 0 / 445.9 MB, free: 42.79 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003689/0.1899, allocations: 386.1 kB / 446.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1899, allocations: 11.75 kB / 446.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.1899, allocations: 41.64 kB / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1899, allocations: 21.58 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1901, allocations: 164.4 kB / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1902, allocations: 7.188 kB / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1902, allocations: 6.594 kB / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1903, allocations: 72.42 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1903, allocations: 3.75 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1903, allocations: 7.594 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1903, allocations: 2.906 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.1904, allocations: 40.95 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1907, allocations: 298.4 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1909, allocations: 80.05 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.1909, allocations: 26.83 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.191, allocations: 4.547 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.1911, allocations: 86.67 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1911, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005578/0.1916, allocations: 316 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.1916, allocations: 60.89 kB / 447.5 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1918, allocations: 262.2 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.1918, allocations: 28.89 kB / 447.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.1918, allocations: 123.6 kB / 447.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1919, allocations: 45.33 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1919, allocations: 31.8 kB / 448 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.1919, allocations: 334.8 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.192, allocations: 41.14 kB / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.192, allocations: 61.77 kB / 448.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1921, allocations: 106.6 kB / 448.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1921, allocations: 0 / 448.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001549/0.1923, allocations: 166.2 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1923, allocations: 9.781 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1923, allocations: 0 / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1923, allocations: 0 / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.1924, allocations: 35.41 kB / 448.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1924, allocations: 0 / 448.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.1924, allocations: 6.141 kB / 448.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1924, allocations: 10.72 kB / 448.7 MB, free: 40.93 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 (16): * Single equations (assignments): 16 * 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.5e-05/0.1925, allocations: 133.7 kB / 448.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.1925, allocations: 20.52 kB / 448.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.1927, allocations: 202.7 kB / 449.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1927, allocations: 2.875 kB / 449.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1927, allocations: 0 / 449.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1927, allocations: 4.109 kB / 449.1 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.1931, allocations: 491.2 kB / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1931, allocations: 0 / 449.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1932, allocations: 30.56 kB / 449.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1932, allocations: 10.12 kB / 449.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1932, allocations: 2.906 kB / 449.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1932, allocations: 3.125 kB / 449.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1932, allocations: 0 / 449.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1933, allocations: 280.4 kB / 449.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.1934, allocations: 25.39 kB / 449.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1934, allocations: 10.12 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.1934, allocations: 2.906 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1935, allocations: 16.3 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1935, allocations: 5.906 kB / 449.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.1936, allocations: 197.1 kB / 450.1 MB, free: 40 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1936, allocations: 0 / 450.1 MB, free: 40 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.1938, allocations: 40.55 kB / 450.2 MB, free: 39.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001306/0.1951, allocations: 1.256 MB / 451.4 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1953, allocations: 104.9 kB / 451.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1953, allocations: 0 / 451.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.1953, allocations: 50.86 kB / 451.6 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1956, allocations: 36.64 kB / 451.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1968, allocations: 2.046 MB / 453.7 MB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.1969, allocations: 123.8 kB / 453.8 MB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1969, allocations: 22.77 kB / 453.8 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.197, allocations: 57.58 kB / 453.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.197, allocations: 0 / 453.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2148, allocations: 5.218 MB / 459.1 MB, free: 35.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.373, allocations: 18.23 kB / 459.1 MB, free: 35.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.568175015039742]