Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001132/0.001132, 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.0008488/0.0008488, 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.9324/0.9324, 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.2715/0.2715, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.319e-05, allocations: 6.219 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.1886/0.1886, allocations: 1.707 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1901, allocations: 1.668 MB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.1902, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1905, allocations: 42.33 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1908, allocations: 100.1 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.1909, allocations: 81.27 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.191, allocations: 109.9 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.1911, allocations: 8.484 kB / 446 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.1912, allocations: 60.52 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.1913, allocations: 34.42 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1913, allocations: 10.28 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1914, allocations: 103.6 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1915, allocations: 25.83 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1915, allocations: 21.08 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1917, allocations: 177.4 kB / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1917, allocations: 0 / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1917, allocations: 0 / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.1917, allocations: 6.344 kB / 446.4 MB, free: 42.54 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.0004003/0.1921, allocations: 352.3 kB / 446.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1921, allocations: 13.78 kB / 446.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.1922, allocations: 34.75 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.1922, allocations: 14.22 kB / 446.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1924, allocations: 143.7 kB / 446.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1924, allocations: 5.188 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1924, allocations: 6.438 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1926, allocations: 105.3 kB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1926, allocations: 0 / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1926, allocations: 0.5 kB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1926, allocations: 1.312 kB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.1926, allocations: 24.55 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.1929, allocations: 249.8 kB / 447.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.193, allocations: 66.44 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.193, allocations: 22.36 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.193, allocations: 2.906 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.1931, allocations: 67.81 kB / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1931, allocations: 0 / 447.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003851/0.1935, allocations: 183 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1935, allocations: 80.08 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.1936, allocations: 169.1 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1937, allocations: 25.7 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.1937, allocations: 105.1 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1937, allocations: 22 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1937, allocations: 22.94 kB / 448.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.926e-05/0.1938, allocations: 325 kB / 448.4 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.1938, allocations: 23.28 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.1938, allocations: 75.41 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.1939, allocations: 62.06 kB / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1939, allocations: 0 / 448.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001046/0.194, allocations: 113.2 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.194, allocations: 5.906 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.194, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.194, allocations: 5.844 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1941, allocations: 12.72 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1941, allocations: 3.234 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.1941, allocations: 5.344 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.1942, allocations: 5.25 kB / 448.7 MB, free: 40.6 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.651e-05/0.1942, allocations: 130.4 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1942, allocations: 10.05 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1944, allocations: 123.8 kB / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1944, allocations: 2.75 kB / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1944, allocations: 3.234 kB / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1944, allocations: 0 / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.1946, allocations: 369.6 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1946, allocations: 0 / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.1947, allocations: 12.81 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1947, allocations: 0 / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1947, allocations: 2.906 kB / 449.3 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1947, allocations: 4.031 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1947, allocations: 10.97 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1948, allocations: 209 kB / 449.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.1948, allocations: 10.17 kB / 449.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1948, allocations: 6.531 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.1949, allocations: 0 / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1949, allocations: 12.25 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1949, allocations: 2.531 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.195, allocations: 135.8 kB / 449.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.195, allocations: 0 / 449.7 MB, free: 39.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000194/0.1952, allocations: 54.67 kB / 449.8 MB, free: 39.78 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.001/0.1962, allocations: 1.236 MB / 451 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1963, allocations: 50.38 kB / 451.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1963, allocations: 2.594 kB / 451.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.1963, allocations: 35.88 kB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1966, allocations: 39.77 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1976, allocations: 1.6 MB / 452.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.1977, allocations: 86.69 kB / 452.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7e-05/0.1977, allocations: 24.12 kB / 452.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.1978, allocations: 43.5 kB / 452.9 MB, free: 37.44 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1978, allocations: 0 / 452.9 MB, free: 37.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.2161, allocations: 4.903 MB / 457.8 MB, free: 35.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.053, allocations: 2.922 kB / 457.8 MB, free: 35.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.25080124847591]