Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001921/0.001921, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 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.002319/0.002319, allocations: 221.2 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 71.89 kB / 467.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 61.04 MB / 0.5162 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003535/0.1261, allocations: 1.812 MB / 0.518 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1278, allocations: 0.8664 MB / 0.5188 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.1278, allocations: 4 kB / 0.5188 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1283, allocations: 223.4 kB / 0.519 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1287, allocations: 175.3 kB / 0.5192 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1291, allocations: 143.7 kB / 0.5193 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1294, allocations: 231.3 kB / 0.5196 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1295, allocations: 21.73 kB / 0.5196 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1296, allocations: 115.6 kB / 0.5197 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1299, allocations: 159.5 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1299, allocations: 8 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.13, allocations: 43.98 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.1301, allocations: 71.69 kB / 0.52 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.1302, allocations: 59.48 kB / 0.52 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1305, allocations: 215 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1305, allocations: 0 / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1305, allocations: 0 / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1305, allocations: 4 kB / 0.5202 GB, free: 2.973 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007364/0.1313, allocations: 484.5 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1313, allocations: 8.031 kB / 0.5207 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1313, allocations: 38.75 kB / 0.5207 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.1314, allocations: 32.73 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1317, allocations: 206.6 kB / 0.521 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1317, allocations: 8.359 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1318, allocations: 11.94 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.132, allocations: 99.3 kB / 0.5211 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.132, allocations: 4 kB / 0.5211 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.132, allocations: 3.984 kB / 0.5211 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.132, allocations: 4 kB / 0.5211 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1322, allocations: 39.95 kB / 0.5211 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1327, allocations: 419.9 kB / 0.5215 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.133, allocations: 121.3 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.1331, allocations: 37.7 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1331, allocations: 4 kB / 0.5217 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1333, allocations: 120.9 kB / 0.5218 GB, free: 1.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1333, allocations: 0 / 0.5218 GB, free: 1.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009262/0.1342, allocations: 381.2 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1343, allocations: 93.03 kB / 0.5223 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1347, allocations: 432.5 kB / 0.5227 GB, free: 284 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1348, allocations: 29.7 kB / 0.5227 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1349, allocations: 156.3 kB / 0.5228 GB, free: 88 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.1349, allocations: 55.62 kB / 0.5229 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.135, allocations: 29.72 kB / 0.5229 GB, free: 16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1351, allocations: 342.8 kB / 0.5233 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1353, allocations: 47.92 kB / 0.5233 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1354, allocations: 71.41 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1356, allocations: 123.5 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1356, allocations: 4 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003415/0.136, allocations: 189.4 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.136, allocations: 8 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.136, allocations: 4.062 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.136, allocations: 4 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1361, allocations: 35.86 kB / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1361, allocations: 7.984 kB / 0.5237 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.1362, allocations: 8 kB / 0.5237 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1362, allocations: 4 kB / 0.5237 GB, free: 15.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001527/0.1364, allocations: 173.7 kB / 0.5239 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.1364, allocations: 35.77 kB / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.1369, allocations: 212.1 kB / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1369, allocations: 11.92 kB / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1369, allocations: 0 / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1369, allocations: 0 / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008076/0.1377, allocations: 0.604 MB / 0.5247 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1377, allocations: 7.938 kB / 0.5247 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.1378, allocations: 23.98 kB / 0.5248 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1378, allocations: 8 kB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1378, allocations: 4 kB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1378, allocations: 4 kB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1378, allocations: 0 / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.1382, allocations: 392.1 kB / 0.5252 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1383, allocations: 23.86 kB / 0.5252 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1383, allocations: 0 / 0.5252 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1384, allocations: 11.98 kB / 0.5252 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1385, allocations: 11.98 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1385, allocations: 16 kB / 0.5252 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.1388, allocations: 323 kB / 0.5255 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1388, allocations: 0 / 0.5255 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1392, allocations: 47.92 kB / 0.5256 GB, free: 13.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002465/0.1416, allocations: 1.308 MB / 0.5269 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1419, allocations: 123.8 kB / 0.527 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1419, allocations: 4 kB / 0.527 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1421, allocations: 59.89 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.1426, allocations: 64.98 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.1459, allocations: 2.662 MB / 0.5297 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.1461, allocations: 152.8 kB / 0.5298 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1462, allocations: 29.62 kB / 0.5299 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1463, allocations: 91.39 kB / 0.53 GB, free: 8.547 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1463, allocations: 0 / 0.53 GB, free: 8.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.1827, allocations: 6.576 MB / 0.5364 GB, free: 1.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.85, allocations: 15.86 kB / 0.5364 GB, free: 1.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.090067887213081]