Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001481/0.001481, allocations: 121 kB / 18.5 MB, free: 4.562 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.00157/0.00157, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2504/0.2504, allocations: 46.92 MB / 357.8 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 0.4916 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1333, allocations: 65.99 MB / 0.5561 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003209/0.1365, allocations: 1.66 MB / 0.5577 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1377, allocations: 0.5845 MB / 0.5583 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.1378, allocations: 0 / 0.5583 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.1384, allocations: 455.1 kB / 0.5587 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.1389, allocations: 287.3 kB / 0.559 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1394, allocations: 183 kB / 0.5592 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1397, allocations: 175.6 kB / 0.5593 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1398, allocations: 15.98 kB / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1399, allocations: 115.7 kB / 0.5595 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1402, allocations: 247.5 kB / 0.5597 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1402, allocations: 8 kB / 0.5597 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.1403, allocations: 24 kB / 0.5597 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1404, allocations: 83.69 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.1405, allocations: 114.9 kB / 0.5599 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1409, allocations: 270.6 kB / 0.5602 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1409, allocations: 0 / 0.5602 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1409, allocations: 4 kB / 0.5602 GB, free: 1.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1409, allocations: 0 / 0.5602 GB, free: 1.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008337/0.1417, allocations: 0.6606 MB / 0.5608 GB, free: 1.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1417, allocations: 16.03 kB / 0.5608 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.351e-05/0.1418, allocations: 4.188 kB / 0.5608 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.1418, allocations: 30.75 kB / 0.5609 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.144e-05/0.1419, allocations: 44.66 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1422, allocations: 304.6 kB / 0.5612 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.1422, allocations: 8.312 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1422, allocations: 12.06 kB / 0.5612 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1424, allocations: 61.67 kB / 0.5613 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1424, allocations: 0 / 0.5613 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1424, allocations: 4 kB / 0.5613 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1424, allocations: 3.984 kB / 0.5613 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1425, allocations: 23.98 kB / 0.5613 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1431, allocations: 404.6 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1433, allocations: 46.48 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.1434, allocations: 24.94 kB / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1434, allocations: 0 / 0.5618 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.1434, allocations: 30.56 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1434, allocations: 0 / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000693/0.1441, allocations: 244.7 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1441, allocations: 55.41 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.145, allocations: 0.8776 MB / 0.5629 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1451, allocations: 25.7 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1453, allocations: 228.1 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1453, allocations: 19.8 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1453, allocations: 13.72 kB / 0.5632 GB, free: 14.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1455, allocations: 366.8 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.1456, allocations: 19.98 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1457, allocations: 28.11 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1458, allocations: 56.83 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1458, allocations: 0 / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002314/0.146, allocations: 125.3 kB / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.146, allocations: 4 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1461, allocations: 4 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.1461, allocations: 4 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.1461, allocations: 11.98 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.1462, allocations: 3.938 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.1462, allocations: 4 kB / 0.5638 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1462, allocations: 11.98 kB / 0.5638 GB, free: 13.75 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 (5): * Single equations (assignments): 5 * 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.0002035/0.1464, allocations: 211.9 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.1465, allocations: 43.67 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.1468, allocations: 149.2 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1468, allocations: 0 / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1468, allocations: 3.938 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1468, allocations: 3.984 kB / 0.5642 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.1474, allocations: 474.5 kB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1474, allocations: 0 / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.1475, allocations: 15.98 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1475, allocations: 7.875 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1475, allocations: 4 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1475, allocations: 192 / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1475, allocations: 4.281 kB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1478, allocations: 219.2 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.1479, allocations: 120.8 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1479, allocations: 3.938 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.148, allocations: 11.98 kB / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1481, allocations: 0 / 0.565 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1481, allocations: 4 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000648/0.1487, allocations: 0.6628 MB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.149, allocations: 27.89 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001987/0.151, allocations: 1.06 MB / 0.5667 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1512, allocations: 55.89 kB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1512, allocations: 4 kB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.1513, allocations: 23.98 kB / 0.5668 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1517, allocations: 30.23 kB / 0.5669 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.1555, allocations: 3.279 MB / 0.5701 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.156, allocations: 0.826 MB / 0.5709 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.651e-05/0.1561, allocations: 16.64 kB / 0.5709 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1562, allocations: 119.4 kB / 0.571 GB, free: 6.309 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1562, allocations: 0 / 0.571 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1793, allocations: 6.18 MB / 0.577 GB, free: 192 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/9.353, allocations: 8.047 kB / 0.577 GB, free: 184 kB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.623704513011035]