Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001766/0.001766, 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.002291/0.002291, 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.607/1.607, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.2232/0.2232, allocations: 44.92 MB / 349.6 MB, free: 1.723 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 64.81 kB / 491.8 MB, free: 29.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1234, allocations: 64.27 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003451/0.1269, allocations: 1.965 MB / 0.5449 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1285, allocations: 0.8612 MB / 0.5458 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1286, allocations: 4 kB / 0.5458 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.1291, allocations: 255.2 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1295, allocations: 183.3 kB / 0.5462 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1305, allocations: 489.9 kB / 0.5467 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.131, allocations: 283.2 kB / 0.5469 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1311, allocations: 56.64 kB / 0.547 GB, free: 8 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1313, allocations: 123.6 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1316, allocations: 219.2 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1316, allocations: 15.94 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1317, allocations: 67.97 kB / 0.5474 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1319, allocations: 95.59 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.132, allocations: 115 kB / 0.5476 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.1324, allocations: 310.4 kB / 0.5479 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1324, allocations: 0 / 0.5479 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1324, allocations: 4 kB / 0.5479 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1324, allocations: 0 / 0.5479 GB, free: 15.07 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008776/0.1333, allocations: 0.6648 MB / 0.5486 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1334, allocations: 8.031 kB / 0.5486 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.1334, allocations: 46.73 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.1335, allocations: 40.66 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1339, allocations: 318.5 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1339, allocations: 8.375 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1339, allocations: 12.38 kB / 0.549 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1342, allocations: 113.5 kB / 0.5491 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1342, allocations: 7.953 kB / 0.5491 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1342, allocations: 4 kB / 0.5491 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1342, allocations: 0 / 0.5491 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1344, allocations: 71.89 kB / 0.5492 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.1351, allocations: 0.4886 MB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1352, allocations: 86.55 kB / 0.5497 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.1353, allocations: 32.84 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1354, allocations: 3.984 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1354, allocations: 38.5 kB / 0.5498 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1354, allocations: 0 / 0.5498 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009355/0.1363, allocations: 392.6 kB / 0.5502 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.1364, allocations: 55.41 kB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.137, allocations: 0.5448 MB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.137, allocations: 29.7 kB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1371, allocations: 204.4 kB / 0.551 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.1372, allocations: 59.48 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1372, allocations: 33.7 kB / 0.5511 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1374, allocations: 354.8 kB / 0.5514 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1375, allocations: 43.97 kB / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1376, allocations: 57.69 kB / 0.5515 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.1379, allocations: 131 kB / 0.5516 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1379, allocations: 0 / 0.5516 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003334/0.1382, allocations: 193.3 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1382, allocations: 8 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1382, allocations: 0 / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1382, allocations: 4 kB / 0.5518 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1384, allocations: 35.92 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1384, allocations: 4 kB / 0.5519 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.1385, allocations: 15.92 kB / 0.5519 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1385, allocations: 8 kB / 0.5519 GB, free: 10.77 MB / 414.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 (17): * Single equations (assignments): 17 * 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.0001655/0.1386, allocations: 173.7 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1387, allocations: 47.75 kB / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.1392, allocations: 231.3 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1392, allocations: 4 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1392, allocations: 0 / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1392, allocations: 0 / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.14, allocations: 0.6192 MB / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.14, allocations: 4 kB / 0.5529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1401, allocations: 39.91 kB / 0.553 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1401, allocations: 0 / 0.553 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1401, allocations: 8 kB / 0.553 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1401, allocations: 3.938 kB / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1401, allocations: 0 / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.1405, allocations: 293.2 kB / 0.5532 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1406, allocations: 124.8 kB / 0.5534 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1406, allocations: 0 / 0.5534 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1407, allocations: 11.94 kB / 0.5534 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1408, allocations: 15.92 kB / 0.5534 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1408, allocations: 8 kB / 0.5534 GB, free: 9.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000427/0.1412, allocations: 411.1 kB / 0.5538 GB, free: 8.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 0.5538 GB, free: 8.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1415, allocations: 47.89 kB / 0.5538 GB, free: 8.648 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 (17): * Single equations (assignments): 17 * 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.003262/0.1448, allocations: 1.43 MB / 0.5552 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1451, allocations: 123.8 kB / 0.5554 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1451, allocations: 4 kB / 0.5554 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1453, allocations: 71.91 kB / 0.5554 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.1459, allocations: 82.19 kB / 0.5555 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.1502, allocations: 3.033 MB / 0.5585 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.1507, allocations: 0.8065 MB / 0.5593 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.1509, allocations: 45.89 kB / 0.5593 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.151, allocations: 123.4 kB / 0.5594 GB, free: 3.125 MB / 414.1 MB Notification: Performance of SimCode: time 1.814e-06/0.151, allocations: 0 / 0.5594 GB, free: 3.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.1809, allocations: 7.294 MB / 0.5665 GB, free: 11.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.479, allocations: 15.02 kB / 0.5666 GB, free: 11.83 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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: 11.798165858723223]