Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001367/0.001367, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002196/0.002196, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.503/1.503, allocations: 230.6 MB / 254.1 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.2288/0.2288, allocations: 46.92 MB / 357.1 MB, free: 10.35 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 75.89 kB / 0.491 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1227, allocations: 65.99 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003472/0.1262, allocations: 1.695 MB / 0.5571 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1273, allocations: 0.5922 MB / 0.5576 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1274, allocations: 4 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.128, allocations: 451.1 kB / 0.5581 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.1286, allocations: 303.3 kB / 0.5584 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.129, allocations: 174.8 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1294, allocations: 183.7 kB / 0.5587 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1295, allocations: 28.14 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1296, allocations: 107.8 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.13, allocations: 259.4 kB / 0.5591 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.13, allocations: 8 kB / 0.5591 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1301, allocations: 47.98 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1302, allocations: 87.69 kB / 0.5592 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1303, allocations: 118.9 kB / 0.5593 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.1307, allocations: 286.5 kB / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1307, allocations: 0 / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1307, allocations: 0 / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1308, allocations: 0 / 0.5596 GB, free: 1.551 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.0008818/0.1316, allocations: 0.6723 MB / 0.5603 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1317, allocations: 16.02 kB / 0.5603 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.1317, allocations: 34.75 kB / 0.5603 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.1318, allocations: 44.66 kB / 0.5603 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1321, allocations: 308.6 kB / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1322, allocations: 4.375 kB / 0.5606 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1322, allocations: 12.31 kB / 0.5607 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1324, allocations: 69.55 kB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1324, allocations: 0 / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1324, allocations: 4 kB / 0.5607 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1324, allocations: 3.938 kB / 0.5607 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1326, allocations: 43.95 kB / 0.5608 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.1332, allocations: 424.6 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.1335, allocations: 58.48 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1335, allocations: 24.97 kB / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1336, allocations: 0 / 0.5613 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1336, allocations: 34.56 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1336, allocations: 0 / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001714/0.1353, allocations: 0.5045 MB / 0.5618 GB, free: 15.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1353, allocations: 51.41 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.1363, allocations: 0.8815 MB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1364, allocations: 25.7 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1365, allocations: 220.1 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1366, allocations: 35.7 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.1366, allocations: 25.7 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1368, allocations: 366.8 kB / 0.5633 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.137, allocations: 47.97 kB / 0.5634 GB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1371, allocations: 59.97 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1374, allocations: 124.8 kB / 0.5636 GB, free: 13.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1374, allocations: 4 kB / 0.5636 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004177/0.1379, allocations: 209.5 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1379, allocations: 8 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1379, allocations: 0 / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1379, allocations: 3.938 kB / 0.5638 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.138, allocations: 27.98 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.138, allocations: 0 / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.1381, allocations: 11.98 kB / 0.5638 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1381, allocations: 4 kB / 0.5638 GB, free: 12.99 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.000234/0.1384, allocations: 231.8 kB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.1384, allocations: 47.67 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.139, allocations: 225.5 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.139, allocations: 7.938 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.139, allocations: 0 / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.139, allocations: 3.984 kB / 0.5643 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009759/0.14, allocations: 0.5975 MB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.14, allocations: 4.094 kB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1401, allocations: 31.91 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1401, allocations: 0 / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1401, allocations: 8 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1401, allocations: 0 / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1401, allocations: 8 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1406, allocations: 312.8 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.1407, allocations: 116.8 kB / 0.5654 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1407, allocations: 4 kB / 0.5654 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1409, allocations: 15.98 kB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1409, allocations: 4 kB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1409, allocations: 4 kB / 0.5654 GB, free: 11.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.1416, allocations: 0.6589 MB / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1416, allocations: 0 / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1419, allocations: 35.92 kB / 0.5661 GB, free: 10.57 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.002471/0.1444, allocations: 1.202 MB / 0.5672 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1448, allocations: 127.8 kB / 0.5674 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1448, allocations: 0 / 0.5674 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.145, allocations: 67.91 kB / 0.5674 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1454, allocations: 26.48 kB / 0.5674 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.1503, allocations: 3.56 MB / 0.5709 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.1508, allocations: 0.8338 MB / 0.5717 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1509, allocations: 36.61 kB / 0.5718 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1511, allocations: 131.3 kB / 0.5719 GB, free: 4.629 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1511, allocations: 0 / 0.5719 GB, free: 4.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.182, allocations: 6.721 MB / 0.5785 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.949/9.131, allocations: 10.33 kB / 0.5785 GB, free: 13.94 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.167996374890208]