Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.19 kB / 491.8 MB, free: 30.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1402, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00354/0.1438, allocations: 1.63 MB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.1448, allocations: 0.6881 MB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.1448, allocations: 0 / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1451, allocations: 27.83 kB / 0.5453 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1453, allocations: 31.91 kB / 0.5453 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.1453, allocations: 0 / 0.5453 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1454, allocations: 43.77 kB / 0.5454 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.1455, allocations: 8.219 kB / 0.5454 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.1455, allocations: 11.92 kB / 0.5454 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.1456, allocations: 15.92 kB / 0.5454 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1456, allocations: 4 kB / 0.5454 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.1457, allocations: 8 kB / 0.5454 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.1457, allocations: 15.92 kB / 0.5454 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.1457, allocations: 19.81 kB / 0.5455 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1459, allocations: 71.61 kB / 0.5455 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1459, allocations: 0 / 0.5455 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1459, allocations: 0 / 0.5455 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1459, allocations: 4 kB / 0.5455 GB, free: 1.504 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004594/0.1464, allocations: 363.2 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1464, allocations: 11.97 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1464, allocations: 50.72 kB / 0.5459 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1465, allocations: 8.891 kB / 0.5459 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1466, allocations: 168.3 kB / 0.5461 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1466, allocations: 4.375 kB / 0.5461 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1467, allocations: 384 / 0.5461 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1469, allocations: 125.1 kB / 0.5462 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1469, allocations: 7.875 kB / 0.5462 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1469, allocations: 7.984 kB / 0.5462 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.1469, allocations: 23.98 kB / 0.5463 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.147, allocations: 39.91 kB / 0.5463 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.1478, allocations: 0.8945 MB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1479, allocations: 177.1 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.1479, allocations: 84.08 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.148, allocations: 83.31 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.148, allocations: 105.8 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.148, allocations: 0 / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.538e-05/0.1481, allocations: 33.66 kB / 0.5476 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1482, allocations: 126.7 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1484, allocations: 186.1 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1484, allocations: 25.7 kB / 0.548 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1485, allocations: 159.5 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.1485, allocations: 4 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1486, allocations: 41.66 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1487, allocations: 318.8 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.1488, allocations: 35.97 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1489, allocations: 155 kB / 0.5486 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1492, allocations: 204.9 kB / 0.5488 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1492, allocations: 4 kB / 0.5488 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003253/0.1495, allocations: 209.4 kB / 0.549 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1495, allocations: 8 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.1495, allocations: 7.984 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1495, allocations: 4 kB / 0.5491 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1497, allocations: 35.92 kB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.1497, allocations: 11.94 kB / 0.5491 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.092e-05/0.1498, allocations: 27.78 kB / 0.5491 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1498, allocations: 11.94 kB / 0.5491 GB, free: 13.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001985/0.15, allocations: 221.3 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.1501, allocations: 116.9 kB / 0.5495 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.1501, allocations: 116.8 kB / 0.5496 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.812e-05/0.1502, allocations: 180.2 kB / 0.5498 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-05/0.1503, allocations: 176.3 kB / 0.5499 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.913e-05/0.1504, allocations: 188.2 kB / 0.5501 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.1507, allocations: 425.1 kB / 0.5505 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/0.1508, allocations: 105 kB / 0.5506 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1508, allocations: 104.9 kB / 0.5507 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-05/0.1509, allocations: 176.3 kB / 0.5509 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/0.151, allocations: 188.2 kB / 0.5511 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.042e-05/0.1511, allocations: 180.3 kB / 0.5512 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.775e-05/0.1512, allocations: 176.3 kB / 0.5514 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1514, allocations: 319.7 kB / 0.5517 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1515, allocations: 190 kB / 0.5519 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.1516, allocations: 184.3 kB / 0.5521 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.1517, allocations: 101 kB / 0.5522 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.1518, allocations: 184.2 kB / 0.5523 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.1518, allocations: 105 kB / 0.5524 GB, free: 9.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1519, allocations: 127.2 kB / 0.5525 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1519, allocations: 0 / 0.5525 GB, free: 9.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1522, allocations: 16 kB / 0.5526 GB, free: 9.672 MB / 414.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 (0): * Single equations (assignments): 0 * 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.001077/0.1533, allocations: 0.9195 MB / 0.5535 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1535, allocations: 76.84 kB / 0.5535 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.1535, allocations: 0 / 0.5535 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1535, allocations: 0 / 0.5535 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1539, allocations: 459.7 kB / 0.554 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1559, allocations: 1.882 MB / 0.5558 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1563, allocations: 0.7083 MB / 0.5565 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.1565, allocations: 53 kB / 0.5566 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.1566, allocations: 27.42 kB / 0.5566 GB, free: 5.355 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1566, allocations: 0 / 0.5566 GB, free: 5.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.1837, allocations: 2.117 MB / 0.5586 GB, free: 3.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/7.95, allocations: 3.938 kB / 0.5587 GB, free: 3.289 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 10.962017914745957]