Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001953/0.001953, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002723/0.002723, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.533/1.533, 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.2368/0.2368, allocations: 46.93 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 75.88 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 65.98 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003103/0.1314, allocations: 1.694 MB / 0.5571 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1324, allocations: 0.5688 MB / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.1325, allocations: 0 / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.133, allocations: 447.2 kB / 0.558 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.1335, allocations: 299.2 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1338, allocations: 131 kB / 0.5585 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1341, allocations: 179.7 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1342, allocations: 20.16 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1343, allocations: 107.8 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1346, allocations: 259.4 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1346, allocations: 4 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1347, allocations: 47.98 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1348, allocations: 87.67 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.1349, allocations: 111 kB / 0.5592 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1353, allocations: 286.5 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1353, allocations: 0 / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1353, allocations: 0 / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1353, allocations: 3.938 kB / 0.5595 GB, free: 1.602 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.0008226/0.1361, allocations: 0.6782 MB / 0.5602 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1361, allocations: 8.031 kB / 0.5602 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.1362, allocations: 38.73 kB / 0.5602 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.1362, allocations: 40.66 kB / 0.5603 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1365, allocations: 312.6 kB / 0.5606 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1366, allocations: 4.375 kB / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1366, allocations: 384 / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1368, allocations: 77.47 kB / 0.5606 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1368, allocations: 0 / 0.5606 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1368, allocations: 4 kB / 0.5606 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1368, allocations: 4 kB / 0.5606 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1369, allocations: 31.97 kB / 0.5607 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1375, allocations: 412.7 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1378, allocations: 50.56 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.1378, allocations: 24.97 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1379, allocations: 7.891 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1379, allocations: 34.56 kB / 0.5612 GB, free: 15.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1379, allocations: 0 / 0.5612 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001613/0.1395, allocations: 484.3 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1395, allocations: 55.41 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.1405, allocations: 0.8699 MB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1405, allocations: 25.7 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1407, allocations: 227.9 kB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1407, allocations: 39.69 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.1408, allocations: 25.7 kB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.141, allocations: 362.8 kB / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1411, allocations: 39.97 kB / 0.5632 GB, free: 13.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1413, allocations: 47.98 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1415, allocations: 96.8 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1415, allocations: 4 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003834/0.1419, allocations: 173.2 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1419, allocations: 14.03 kB / 0.5635 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1419, allocations: 3.984 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.142, allocations: 3.938 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1421, allocations: 23.98 kB / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1421, allocations: 0 / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.1422, allocations: 11.98 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1422, allocations: 4 kB / 0.5636 GB, free: 13.18 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.0002157/0.1424, allocations: 223.9 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.1425, allocations: 51.66 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.1429, allocations: 198 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1429, allocations: 3.938 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1429, allocations: 4.5 kB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.143, allocations: 0 / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008741/0.1438, allocations: 0.5779 MB / 0.5646 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1438, allocations: 4 kB / 0.5646 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1439, allocations: 31.97 kB / 0.5647 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1439, allocations: 0 / 0.5647 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.144, allocations: 7.984 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.144, allocations: 3.938 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.144, allocations: 4.062 kB / 0.5647 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1444, allocations: 288.9 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.1445, allocations: 124.8 kB / 0.5651 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1445, allocations: 4 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1446, allocations: 8 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1447, allocations: 11.98 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1447, allocations: 7.938 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007097/0.1454, allocations: 0.6628 MB / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1454, allocations: 0 / 0.5657 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1457, allocations: 31.94 kB / 0.5658 GB, free: 10.82 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.002373/0.1481, allocations: 1.17 MB / 0.5669 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.1484, allocations: 103.9 kB / 0.567 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1484, allocations: 4 kB / 0.567 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1486, allocations: 55.91 kB / 0.5671 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.149, allocations: 30.3 kB / 0.5671 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.1534, allocations: 3.454 MB / 0.5705 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.1539, allocations: 0.8377 MB / 0.5713 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.048e-05/0.154, allocations: 12.56 kB / 0.5713 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1541, allocations: 115.4 kB / 0.5714 GB, free: 5.086 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1541, allocations: 0 / 0.5714 GB, free: 5.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.1837, allocations: 6.589 MB / 0.5778 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/8.925, allocations: 4.062 kB / 0.5778 GB, free: 14.54 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.104140848852694]