Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001858/0.001858, allocations: 123.4 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.002267/0.002267, allocations: 208.3 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.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2436/0.2436, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 0.491 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1294, allocations: 65.99 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003806/0.1332, allocations: 1.681 MB / 0.557 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1343, allocations: 0.565 MB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1344, allocations: 3.938 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.135, allocations: 443.2 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.1356, allocations: 299.3 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.136, allocations: 135.2 kB / 0.5584 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1363, allocations: 171.7 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1364, allocations: 15.98 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1366, allocations: 119.7 kB / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1368, allocations: 247.5 kB / 0.559 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1369, allocations: 4 kB / 0.559 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.137, allocations: 47.98 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1371, allocations: 91.61 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.1372, allocations: 107 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.1376, allocations: 282.4 kB / 0.5595 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1376, allocations: 4 kB / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1376, allocations: 0 / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1376, allocations: 0 / 0.5595 GB, free: 1.637 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.0009003/0.1385, allocations: 0.6684 MB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1386, allocations: 8.031 kB / 0.5601 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1386, allocations: 38.73 kB / 0.5602 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.1387, allocations: 44.66 kB / 0.5602 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.139, allocations: 304.6 kB / 0.5605 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.139, allocations: 384 / 0.5605 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.139, allocations: 12.38 kB / 0.5605 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1392, allocations: 69.48 kB / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1393, allocations: 0 / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1393, allocations: 0 / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1393, allocations: 0 / 0.5606 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1394, allocations: 31.97 kB / 0.5606 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.1399, allocations: 400.7 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1401, allocations: 46.55 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1401, allocations: 24.88 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1402, allocations: 0 / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1402, allocations: 34.59 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1402, allocations: 0 / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001038/0.1412, allocations: 320.4 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1413, allocations: 59.34 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.1422, allocations: 0.8699 MB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1422, allocations: 29.7 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1424, allocations: 228.1 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1425, allocations: 31.75 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1425, allocations: 21.7 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1427, allocations: 366.8 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.1428, allocations: 23.97 kB / 0.563 GB, free: 13.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.1429, allocations: 27.98 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.143, allocations: 60.83 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.143, allocations: 4 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002803/0.1433, allocations: 141.3 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1433, allocations: 4 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1433, allocations: 320 / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1433, allocations: 0 / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1434, allocations: 23.92 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1435, allocations: 4 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.1435, allocations: 7.984 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1435, allocations: 7.984 kB / 0.5633 GB, free: 13.53 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 (8): * Single equations (assignments): 8 * 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.0001973/0.1437, allocations: 212 kB / 0.5635 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.1438, allocations: 47.67 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1441, allocations: 165.5 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1441, allocations: 3.938 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1441, allocations: 0 / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1442, allocations: 4 kB / 0.5637 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.1448, allocations: 0.5031 MB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1448, allocations: 0 / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.1449, allocations: 15.98 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1449, allocations: 7.938 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1449, allocations: 4 kB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1449, allocations: 3.938 kB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1449, allocations: 7.969 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1452, allocations: 240 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.1453, allocations: 112.8 kB / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1454, allocations: 7.984 kB / 0.5645 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.1455, allocations: 4 kB / 0.5645 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1455, allocations: 11.98 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1455, allocations: 0 / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006898/0.1462, allocations: 0.6589 MB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1465, allocations: 31.92 kB / 0.5652 GB, free: 11.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002364/0.1489, allocations: 1.127 MB / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1491, allocations: 67.89 kB / 0.5664 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1491, allocations: 4 kB / 0.5664 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.1492, allocations: 31.97 kB / 0.5664 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1496, allocations: 38.17 kB / 0.5665 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.1537, allocations: 3.325 MB / 0.5697 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.1542, allocations: 0.826 MB / 0.5705 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.1543, allocations: 12.75 kB / 0.5705 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.1544, allocations: 115.3 kB / 0.5706 GB, free: 5.883 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1544, allocations: 4 kB / 0.5706 GB, free: 5.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.185, allocations: 6.423 MB / 0.5769 GB, free: 15.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.767, allocations: 6.875 kB / 0.5769 GB, free: 15.48 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.020257820142433]