Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001293/0.001293, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001422/0.001422, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 79.88 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1314, allocations: 65.98 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.00301/0.1344, allocations: 1.689 MB / 0.5571 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1354, allocations: 0.561 MB / 0.5576 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1354, allocations: 4 kB / 0.5576 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.1357, allocations: 67.72 kB / 0.5577 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.136, allocations: 103.6 kB / 0.5578 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1363, allocations: 131.6 kB / 0.5579 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1365, allocations: 87.75 kB / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1366, allocations: 24.16 kB / 0.558 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.1367, allocations: 31.91 kB / 0.558 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1368, allocations: 63.73 kB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1368, allocations: 8 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1369, allocations: 47.98 kB / 0.5581 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.137, allocations: 27.91 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1371, allocations: 35.73 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1373, allocations: 127.4 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1373, allocations: 0 / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1373, allocations: 4 kB / 0.5583 GB, free: 2.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1373, allocations: 4 kB / 0.5583 GB, free: 2.777 MB / 414.1 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.0006667/0.138, allocations: 430.6 kB / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.138, allocations: 12.03 kB / 0.5588 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.1381, allocations: 38.69 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1381, allocations: 16.84 kB / 0.5588 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1383, allocations: 208.1 kB / 0.559 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1383, allocations: 384 / 0.559 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1384, allocations: 8.375 kB / 0.559 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1386, allocations: 73.53 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1386, allocations: 0 / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1386, allocations: 4 kB / 0.5591 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1386, allocations: 0 / 0.5591 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1387, allocations: 43.91 kB / 0.5591 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.1392, allocations: 308.8 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1394, allocations: 50.66 kB / 0.5595 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.1395, allocations: 32.89 kB / 0.5595 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1395, allocations: 0 / 0.5595 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1395, allocations: 34.56 kB / 0.5595 GB, free: 1.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1395, allocations: 0 / 0.5595 GB, free: 1.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.1411, allocations: 405.3 kB / 0.5599 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1411, allocations: 51.41 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.1413, allocations: 222.1 kB / 0.5602 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1414, allocations: 25.7 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.1414, allocations: 120 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.1415, allocations: 39.69 kB / 0.5604 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.1415, allocations: 29.64 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1417, allocations: 326.8 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1418, allocations: 39.97 kB / 0.5607 GB, free: 88 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1419, allocations: 43.92 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1422, allocations: 109.1 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1422, allocations: 0 / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003314/0.1425, allocations: 141.5 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1426, allocations: 4 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1426, allocations: 0 / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1426, allocations: 7.938 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1427, allocations: 39.91 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1427, allocations: 0 / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.1428, allocations: 7.984 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1428, allocations: 4 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001111/0.1429, allocations: 128 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1429, allocations: 15.91 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.1433, allocations: 167 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1433, allocations: 3.938 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1434, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1434, allocations: 3.938 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.1441, allocations: 487.9 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1441, allocations: 0 / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1442, allocations: 27.92 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1442, allocations: 7.984 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1442, allocations: 3.984 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1442, allocations: 0 / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1442, allocations: 7.984 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.1446, allocations: 261.1 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1447, allocations: 93 kB / 0.5622 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1447, allocations: 8.188 kB / 0.5622 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1448, allocations: 15.98 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1449, allocations: 11.98 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1449, allocations: 8 kB / 0.5623 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.145, allocations: 164.3 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.145, allocations: 0 / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1453, allocations: 31.86 kB / 0.5625 GB, free: 14.19 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002302/0.1476, allocations: 1.141 MB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1479, allocations: 95.88 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1479, allocations: 8 kB / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1481, allocations: 59.83 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1485, allocations: 20.12 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.1511, allocations: 1.889 MB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1514, allocations: 0.7119 MB / 0.5663 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.1515, allocations: 16.5 kB / 0.5663 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.1516, allocations: 43.41 kB / 0.5664 GB, free: 10.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1516, allocations: 0 / 0.5664 GB, free: 10.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1757, allocations: 3.519 MB / 0.5698 GB, free: 6.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.982, allocations: 15.92 kB / 0.5698 GB, free: 6.762 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.265190985999652]