Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001199/0.001199, allocations: 84.34 kB / 20.67 MB, free: 3.879 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.001256/0.001256, allocations: 160.9 kB / 23.94 MB, free: 0.6016 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.9693/0.9693, allocations: 177.1 MB / 204.2 MB, free: 5.77 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.2805/0.2805, allocations: 34.25 MB / 294.9 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.76e-05, allocations: 4.672 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.2235/0.2235, allocations: 1.722 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2248, allocations: 0.9772 MB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.2249, allocations: 5.406 kB / 445 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.2253, allocations: 105.7 kB / 445.1 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.2256, allocations: 132.1 kB / 445.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2258, allocations: 79.66 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.226, allocations: 135.4 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2261, allocations: 11.72 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2262, allocations: 74.66 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.2263, allocations: 69.36 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2263, allocations: 2.969 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2265, allocations: 58.12 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.2265, allocations: 34.19 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.2266, allocations: 26.97 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2268, allocations: 159.5 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2268, allocations: 0 / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2268, allocations: 3.188 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2268, allocations: 0 / 445.9 MB, free: 42.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004988/0.2273, allocations: 386 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2274, allocations: 12.03 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.2274, allocations: 33.94 kB / 446.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2274, allocations: 19.08 kB / 446.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2277, allocations: 163.4 kB / 446.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2277, allocations: 5.438 kB / 446.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2277, allocations: 7.438 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2279, allocations: 71.45 kB / 446.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2279, allocations: 3.375 kB / 446.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2279, allocations: 7.875 kB / 446.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2279, allocations: 6.906 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.769e-05/0.228, allocations: 31.81 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.2283, allocations: 285.6 kB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.2286, allocations: 76.77 kB / 447 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.2286, allocations: 28.56 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2286, allocations: 2.938 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.2288, allocations: 82.64 kB / 447.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.2288, allocations: 0 / 447.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006671/0.2294, allocations: 294.3 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2295, allocations: 57.81 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2296, allocations: 264.5 kB / 447.7 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2297, allocations: 29.52 kB / 447.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.2297, allocations: 110.6 kB / 447.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.2297, allocations: 40.09 kB / 447.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.2298, allocations: 29.92 kB / 447.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.2298, allocations: 334.8 kB / 448.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.2299, allocations: 32.06 kB / 448.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.23, allocations: 54.73 kB / 448.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.2301, allocations: 100.2 kB / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2301, allocations: 0 / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001887/0.2303, allocations: 151.4 kB / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2303, allocations: 2.938 kB / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2303, allocations: 2.938 kB / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2303, allocations: 0 / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.2304, allocations: 27.42 kB / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2304, allocations: 0 / 448.6 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.2304, allocations: 6.906 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.2304, allocations: 6.125 kB / 448.6 MB, free: 41.05 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 (14): * Single equations (assignments): 14 * 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.429e-05/0.2305, allocations: 142.5 kB / 448.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.2305, allocations: 17.7 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.2308, allocations: 188 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2308, allocations: 0 / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2308, allocations: 2.844 kB / 448.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.2308, allocations: 3.422 kB / 449 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.2312, allocations: 458.2 kB / 449.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2312, allocations: 3.234 kB / 449.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.2313, allocations: 24.06 kB / 449.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2313, allocations: 2.844 kB / 449.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2313, allocations: 6.375 kB / 449.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2313, allocations: 6.188 kB / 449.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2313, allocations: 0 / 449.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.2315, allocations: 259.1 kB / 449.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.2315, allocations: 13.66 kB / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2315, allocations: 6.875 kB / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.2316, allocations: 18 kB / 449.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.2316, allocations: 8.875 kB / 449.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2316, allocations: 9.75 kB / 449.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.2317, allocations: 198.1 kB / 449.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2317, allocations: 0 / 449.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.2319, allocations: 31.69 kB / 450 MB, free: 40.14 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 (14): * Single equations (assignments): 12 * 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.001167/0.2331, allocations: 1.248 MB / 451.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2333, allocations: 99.42 kB / 451.3 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2333, allocations: 0 / 451.3 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.903e-05/0.2334, allocations: 51.72 kB / 451.4 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2337, allocations: 28.36 kB / 451.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2351, allocations: 1.973 MB / 453.4 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.2351, allocations: 115.1 kB / 453.5 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.2352, allocations: 25.14 kB / 453.5 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.2353, allocations: 56.16 kB / 453.6 MB, free: 37.64 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2353, allocations: 0 / 453.6 MB, free: 37.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.2543, allocations: 5.064 MB / 458.6 MB, free: 36.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.103, allocations: 10.92 kB / 458.6 MB, free: 36.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.369849055074155]