Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001265/0.001265, allocations: 128.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.001383/0.001383, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.484/1.484, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] 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.232/0.232, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1317, allocations: 66.04 MB / 0.5555 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003331/0.135, allocations: 1.696 MB / 0.5571 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1361, allocations: 0.5878 MB / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.1362, allocations: 0 / 0.5577 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1365, allocations: 75.72 kB / 0.5578 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1368, allocations: 99.64 kB / 0.5579 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1372, allocations: 179.2 kB / 0.5581 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1374, allocations: 99.73 kB / 0.5582 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1375, allocations: 20.16 kB / 0.5582 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.1376, allocations: 43.89 kB / 0.5582 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1377, allocations: 51.77 kB / 0.5583 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1378, allocations: 4 kB / 0.5583 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1379, allocations: 55.97 kB / 0.5583 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.138, allocations: 27.91 kB / 0.5583 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.138, allocations: 35.69 kB / 0.5584 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1383, allocations: 131.4 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1383, allocations: 4 kB / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1383, allocations: 0 / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1383, allocations: 0 / 0.5585 GB, free: 2.418 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.0006832/0.139, allocations: 434.6 kB / 0.5589 GB, free: 1.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.139, allocations: 16.02 kB / 0.5589 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.1391, allocations: 34.75 kB / 0.559 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1391, allocations: 16.84 kB / 0.559 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1394, allocations: 208.1 kB / 0.5592 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1394, allocations: 4.375 kB / 0.5592 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1394, allocations: 8.375 kB / 0.5592 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1396, allocations: 66.22 kB / 0.5593 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1396, allocations: 3.938 kB / 0.5593 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1396, allocations: 7.938 kB / 0.5593 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1396, allocations: 4 kB / 0.5593 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1398, allocations: 43.89 kB / 0.5593 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.1403, allocations: 332.7 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1406, allocations: 62.55 kB / 0.5597 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/0.1406, allocations: 32.98 kB / 0.5597 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1407, allocations: 0 / 0.5597 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.1407, allocations: 34.56 kB / 0.5598 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.1407, allocations: 3.938 kB / 0.5598 GB, free: 0.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001585/0.1423, allocations: 425.3 kB / 0.5602 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1423, allocations: 55.39 kB / 0.5602 GB, free: 480 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1426, allocations: 222.6 kB / 0.5604 GB, free: 244 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1426, allocations: 29.7 kB / 0.5605 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1427, allocations: 108.1 kB / 0.5606 GB, free: 96 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.1427, allocations: 35.69 kB / 0.5606 GB, free: 60 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.1428, allocations: 29.7 kB / 0.5606 GB, free: 24 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1429, allocations: 322.9 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1431, allocations: 55.89 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1432, allocations: 59.92 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1435, allocations: 124.7 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1435, allocations: 4 kB / 0.5612 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003581/0.1439, allocations: 161.5 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1439, allocations: 8 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1439, allocations: 4 kB / 0.5613 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1439, allocations: 0 / 0.5613 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.144, allocations: 31.91 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.144, allocations: 3.938 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.1441, allocations: 8 kB / 0.5614 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1441, allocations: 11.98 kB / 0.5614 GB, free: 15.23 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.0001167/0.1442, allocations: 130.9 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1442, allocations: 15.91 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.1447, allocations: 186.9 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1447, allocations: 0 / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1447, allocations: 3.938 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1447, allocations: 3.984 kB / 0.5617 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.1455, allocations: 0.5077 MB / 0.5622 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1455, allocations: 11.92 kB / 0.5622 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1456, allocations: 27.92 kB / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1456, allocations: 0 / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1456, allocations: 4 kB / 0.5623 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1456, allocations: 0 / 0.5623 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1456, allocations: 192 / 0.5623 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.146, allocations: 281.6 kB / 0.5625 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1461, allocations: 104.9 kB / 0.5626 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1461, allocations: 8 kB / 0.5626 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1462, allocations: 11.98 kB / 0.5626 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1463, allocations: 12 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1463, allocations: 7.984 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1465, allocations: 167.2 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1467, allocations: 27.94 kB / 0.5628 GB, free: 13.61 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.002496/0.1492, allocations: 1.164 MB / 0.564 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1496, allocations: 119.9 kB / 0.5641 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1496, allocations: 3.938 kB / 0.5641 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1498, allocations: 68.02 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1501, allocations: 25.92 kB / 0.5642 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1528, allocations: 1.963 MB / 0.5661 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.1532, allocations: 0.7236 MB / 0.5668 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.619e-05/0.1533, allocations: 32.53 kB / 0.5668 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.1534, allocations: 43.42 kB / 0.5669 GB, free: 9.488 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1534, allocations: 0 / 0.5669 GB, free: 9.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.181, allocations: 3.662 MB / 0.5705 GB, free: 5.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.132, allocations: 6.484 kB / 0.5705 GB, free: 5.871 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.274149795994163]