Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 112.8 kB / 18.45 MB, free: 4.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 189.3 kB / 21.39 MB, free: 1.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 247.1 MB, free: 4.328 MB / 190.1 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.3299/0.3299, allocations: 44.25 MB / 343.5 MB, free: 7.566 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 66.33 kB / 478.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 60.83 MB / 0.5271 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003425/0.1184, allocations: 1.738 MB / 0.5288 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1199, allocations: 0.8731 MB / 0.5297 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.12, allocations: 7.938 kB / 0.5297 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1203, allocations: 87.69 kB / 0.5297 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1206, allocations: 79.66 kB / 0.5298 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1209, allocations: 115.6 kB / 0.5299 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1211, allocations: 107.7 kB / 0.53 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1213, allocations: 16.27 kB / 0.5301 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1214, allocations: 55.77 kB / 0.5301 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1215, allocations: 71.69 kB / 0.5302 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1215, allocations: 4 kB / 0.5302 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1217, allocations: 59.97 kB / 0.5302 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1217, allocations: 19.92 kB / 0.5303 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.1218, allocations: 39.73 kB / 0.5303 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1221, allocations: 135.4 kB / 0.5304 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1221, allocations: 0 / 0.5304 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1221, allocations: 3.938 kB / 0.5304 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1221, allocations: 0 / 0.5304 GB, free: 10.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000644/0.1228, allocations: 451.5 kB / 0.5309 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1228, allocations: 8.031 kB / 0.5309 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1229, allocations: 30.75 kB / 0.5309 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1229, allocations: 12.89 kB / 0.5309 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1232, allocations: 212.1 kB / 0.5311 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1233, allocations: 4.375 kB / 0.5311 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1233, allocations: 3.938 kB / 0.5311 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1235, allocations: 65.59 kB / 0.5312 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1235, allocations: 4 kB / 0.5312 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1235, allocations: 4 kB / 0.5312 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1235, allocations: 4 kB / 0.5312 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.1236, allocations: 23.97 kB / 0.5312 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.124, allocations: 300.8 kB / 0.5315 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1243, allocations: 62.48 kB / 0.5316 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.1244, allocations: 24.97 kB / 0.5316 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1244, allocations: 7.984 kB / 0.5316 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1246, allocations: 67.39 kB / 0.5317 GB, free: 8.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1246, allocations: 0 / 0.5317 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008332/0.1254, allocations: 253.2 kB / 0.5319 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1255, allocations: 59.34 kB / 0.532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1257, allocations: 218.7 kB / 0.5322 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1258, allocations: 29.7 kB / 0.5322 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.1258, allocations: 108.1 kB / 0.5323 GB, free: 8.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.1259, allocations: 39.69 kB / 0.5323 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.126, allocations: 29.64 kB / 0.5324 GB, free: 7.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1261, allocations: 326.8 kB / 0.5327 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.1262, allocations: 27.98 kB / 0.5327 GB, free: 7.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.1263, allocations: 45.7 kB / 0.5327 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1264, allocations: 77.7 kB / 0.5328 GB, free: 7.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1265, allocations: 3.938 kB / 0.5328 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002247/0.1267, allocations: 133.5 kB / 0.5329 GB, free: 7.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1267, allocations: 8 kB / 0.533 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1267, allocations: 0 / 0.533 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1267, allocations: 0 / 0.533 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.1268, allocations: 23.94 kB / 0.533 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1268, allocations: 7.969 kB / 0.533 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.1269, allocations: 7.984 kB / 0.533 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1269, allocations: 8 kB / 0.533 GB, free: 7.258 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.000117/0.127, allocations: 137.1 kB / 0.5331 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1271, allocations: 11.95 kB / 0.5331 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.1271, allocations: 17.41 kB / 0.5332 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1271, allocations: 3.938 kB / 0.5332 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1271, allocations: 0 / 0.5332 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.1271, allocations: 3.984 kB / 0.5332 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.1277, allocations: 460 kB / 0.5336 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1277, allocations: 0 / 0.5336 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.1278, allocations: 15.98 kB / 0.5336 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1278, allocations: 0 / 0.5336 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1278, allocations: 4 kB / 0.5336 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1278, allocations: 0 / 0.5336 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1278, allocations: 0 / 0.5336 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.1281, allocations: 249.2 kB / 0.5339 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1282, allocations: 93.02 kB / 0.5339 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1282, allocations: 0 / 0.5339 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1283, allocations: 4 kB / 0.534 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1283, allocations: 11.98 kB / 0.534 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1284, allocations: 8 kB / 0.534 GB, free: 6.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1286, allocations: 175.2 kB / 0.5341 GB, free: 5.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1286, allocations: 0 / 0.5341 GB, free: 5.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1289, allocations: 27.94 kB / 0.5342 GB, free: 5.945 MB / 398.1 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 (11): * Single equations (assignments): 9 * 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.002384/0.1313, allocations: 1.187 MB / 0.5353 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1315, allocations: 79.84 kB / 0.5354 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1315, allocations: 7.938 kB / 0.5354 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.1316, allocations: 35.98 kB / 0.5354 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.132, allocations: 27.97 kB / 0.5355 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1341, allocations: 1.817 MB / 0.5372 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1345, allocations: 0.7232 MB / 0.5379 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.1346, allocations: 12.66 kB / 0.538 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.1346, allocations: 43.41 kB / 0.538 GB, free: 2.09 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1347, allocations: 0 / 0.538 GB, free: 2.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1587, allocations: 3.862 MB / 0.5418 GB, free: 14.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.243, allocations: 7.734 kB / 0.5418 GB, free: 14.29 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.234499386977404]