Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001195/0.001195, 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.0009554/0.0009554, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9025/0.9025, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2413/0.2413, allocations: 32.8 MB / 293.5 MB, free: 1.23 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.07e-05, allocations: 2.281 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002321/0.002341, allocations: 1.725 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003619, allocations: 0.9702 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.003736, allocations: 4 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.00411, allocations: 47.75 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.004476, allocations: 107.5 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.00468, allocations: 79.67 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004833, allocations: 111.6 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.00496, allocations: 8 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.005062, allocations: 51.88 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.005133, allocations: 19.92 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005149, allocations: 7.938 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.005234, allocations: 51.86 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.00529, allocations: 27.91 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.009e-05/0.00533, allocations: 27.86 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005514, allocations: 139.5 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005517, allocations: 8 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005518, allocations: 0 / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005523, allocations: 0 / 443 MB, free: 0.7773 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.0004395/0.005962, allocations: 373.3 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006, allocations: 12.03 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.006031, allocations: 38.69 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.006065, allocations: 16.84 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.006272, allocations: 158.5 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.006286, allocations: 4.375 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.006304, allocations: 4.375 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.006421, allocations: 61.97 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006431, allocations: 4 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.00644, allocations: 4 kB / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.006445, allocations: 0 / 443.7 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.006503, allocations: 19.98 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1852/0.1917, allocations: 266.2 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.1918, allocations: 61.97 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.1919, allocations: 20.06 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1919, allocations: 0 / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.192, allocations: 68.5 kB / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.192, allocations: 0 / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004395/0.1925, allocations: 192.7 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1925, allocations: 55.69 kB / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1927, allocations: 289.2 kB / 444.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.1927, allocations: 29.03 kB / 444.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.1927, allocations: 115.1 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1927, allocations: 31.19 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1928, allocations: 24.22 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.1928, allocations: 331.3 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.1928, allocations: 18.75 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.1929, allocations: 43 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.1929, allocations: 59.39 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.193, allocations: 0 / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001158/0.1931, allocations: 117 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1931, allocations: 8.469 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1931, allocations: 3.328 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1931, allocations: 2.531 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.1932, allocations: 13.75 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1932, allocations: 3.203 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.1932, allocations: 6 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1932, allocations: 5.656 kB / 445.4 MB, free: 45.54 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 6.564e-05/0.1933, allocations: 147.4 kB / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.1933, allocations: 17.5 kB / 445.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.1935, allocations: 122.2 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1935, allocations: 2.875 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1935, allocations: 0 / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1935, allocations: 3.422 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1938, allocations: 394.1 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1938, allocations: 3.094 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.1938, allocations: 8.75 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1938, allocations: 0 / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1938, allocations: 9.578 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1938, allocations: 3 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1938, allocations: 1.125 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1939, allocations: 219.3 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.1939, allocations: 13.53 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1939, allocations: 3.281 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.194, allocations: 6.906 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.194, allocations: 6.156 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.194, allocations: 6.219 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1941, allocations: 221.5 kB / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1941, allocations: 0 / 446.6 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.1943, allocations: 31.8 kB / 446.6 MB, free: 44.76 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.0009267/0.1952, allocations: 1.146 MB / 447.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1954, allocations: 56.77 kB / 447.8 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1954, allocations: 0 / 447.8 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.1954, allocations: 31.67 kB / 447.9 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1956, allocations: 30.09 kB / 447.9 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1968, allocations: 1.887 MB / 449.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.1969, allocations: 108.1 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1969, allocations: 20 kB / 449.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.197, allocations: 43.3 kB / 450 MB, free: 42.44 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.197, allocations: 4 kB / 450 MB, free: 42.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2146, allocations: 4.677 MB / 454.6 MB, free: 41.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.246, allocations: 4 kB / 454.6 MB, free: 41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.368740234524012]