Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001217/0.001217, 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.001201/0.001201, 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.435/1.435, allocations: 225.6 MB / 249.8 MB, free: 3.582 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.2266/0.2266, allocations: 44.91 MB / 349.6 MB, free: 1.699 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 72.48 kB / 491.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1285, allocations: 64.26 MB / 0.543 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003271/0.1318, allocations: 1.646 MB / 0.5446 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.1327, allocations: 439 kB / 0.5451 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.1328, allocations: 0 / 0.5451 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.1334, allocations: 443.2 kB / 0.5455 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.1337, allocations: 255.5 kB / 0.5457 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1341, allocations: 139.1 kB / 0.5459 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.1344, allocations: 163.6 kB / 0.546 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1345, allocations: 16.22 kB / 0.546 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1346, allocations: 115.7 kB / 0.5461 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.1349, allocations: 243.5 kB / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1349, allocations: 0 / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.135, allocations: 47.98 kB / 0.5464 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1351, allocations: 87.62 kB / 0.5465 GB, free: 484 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1353, allocations: 115 kB / 0.5466 GB, free: 368 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.1357, allocations: 270.6 kB / 0.5469 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1357, allocations: 0 / 0.5469 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1358, allocations: 0 / 0.5469 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1358, allocations: 0 / 0.5469 GB, free: 96 kB / 398.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.0009698/0.1367, allocations: 0.6568 MB / 0.5475 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1368, allocations: 12.03 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1368, allocations: 30.75 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1369, allocations: 44.66 kB / 0.5476 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.1373, allocations: 308.6 kB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1373, allocations: 4.375 kB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.1374, allocations: 8.359 kB / 0.5479 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1375, allocations: 53.62 kB / 0.548 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1375, allocations: 0 / 0.548 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1375, allocations: 4 kB / 0.548 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1376, allocations: 4 kB / 0.548 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1377, allocations: 35.84 kB / 0.548 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1382, allocations: 404.6 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1383, allocations: 46.59 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.1384, allocations: 16.94 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1384, allocations: 0 / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.1384, allocations: 30.56 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1384, allocations: 4 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009473/0.1394, allocations: 308.8 kB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.1394, allocations: 55.34 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.1405, allocations: 0.8613 MB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1405, allocations: 29.7 kB / 0.5497 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1407, allocations: 220.1 kB / 0.5499 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1407, allocations: 31.73 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1408, allocations: 21.72 kB / 0.55 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.141, allocations: 358.8 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.1411, allocations: 27.97 kB / 0.5503 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.1411, allocations: 27.91 kB / 0.5503 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1413, allocations: 64.83 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1413, allocations: 0 / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002394/0.1416, allocations: 129.5 kB / 0.5505 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1416, allocations: 8 kB / 0.5505 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1416, allocations: 320 / 0.5505 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1416, allocations: 3.984 kB / 0.5505 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1417, allocations: 23.92 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1417, allocations: 7.875 kB / 0.5506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.1418, allocations: 19.94 kB / 0.5506 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1418, allocations: 3.984 kB / 0.5506 GB, free: 12.04 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 (8): * Single equations (assignments): 8 * 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.0002178/0.142, allocations: 209.8 kB / 0.5508 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1421, allocations: 43.72 kB / 0.5508 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.1424, allocations: 157.5 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1424, allocations: 7.938 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1424, allocations: 0 / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1424, allocations: 3.984 kB / 0.551 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.1432, allocations: 0.4953 MB / 0.5515 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1432, allocations: 0 / 0.5515 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.1432, allocations: 23.92 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1432, allocations: 4 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1432, allocations: 32 / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1433, allocations: 4 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1433, allocations: 0 / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1436, allocations: 244 kB / 0.5517 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1437, allocations: 120.8 kB / 0.5519 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1437, allocations: 3.984 kB / 0.5519 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.1438, allocations: 11.94 kB / 0.5519 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1438, allocations: 7.984 kB / 0.5519 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1438, allocations: 4 kB / 0.5519 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007746/0.1446, allocations: 0.6511 MB / 0.5525 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1446, allocations: 0 / 0.5525 GB, free: 9.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1449, allocations: 31.92 kB / 0.5526 GB, free: 9.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002281/0.1472, allocations: 1.128 MB / 0.5537 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1474, allocations: 63.89 kB / 0.5537 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1474, allocations: 0 / 0.5537 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.1475, allocations: 31.92 kB / 0.5537 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.1479, allocations: 25.95 kB / 0.5538 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.1521, allocations: 3.308 MB / 0.557 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.1527, allocations: 0.8259 MB / 0.5578 GB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.1527, allocations: 12.73 kB / 0.5578 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1529, allocations: 111.4 kB / 0.5579 GB, free: 4.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1529, allocations: 0 / 0.5579 GB, free: 4.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.1832, allocations: 6.332 MB / 0.5641 GB, free: 14.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.511, allocations: 10.98 kB / 0.5641 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.691385159268975]