Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001379/0.001379, allocations: 119 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.001365/0.001365, allocations: 190.9 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.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.2197/0.2197, allocations: 44.92 MB / 349.6 MB, free: 1.73 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.05 kB / 491.8 MB, free: 29.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1283, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003441/0.1317, allocations: 1.991 MB / 0.545 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1335, allocations: 0.9588 MB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.1336, allocations: 8 kB / 0.5459 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.1341, allocations: 263.2 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1344, allocations: 195.3 kB / 0.5463 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1358, allocations: 0.6418 MB / 0.547 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.1362, allocations: 307.2 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1363, allocations: 60.72 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1365, allocations: 127.6 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1367, allocations: 227.2 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1368, allocations: 12 kB / 0.5477 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1369, allocations: 99.95 kB / 0.5478 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1371, allocations: 99.61 kB / 0.5479 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1372, allocations: 127 kB / 0.548 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1376, allocations: 338.3 kB / 0.5483 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1376, allocations: 4 kB / 0.5483 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1376, allocations: 0 / 0.5483 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1376, allocations: 0 / 0.5483 GB, free: 14.67 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.0008323/0.1384, allocations: 0.6725 MB / 0.549 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1385, allocations: 8.031 kB / 0.549 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.1385, allocations: 50.73 kB / 0.549 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1386, allocations: 44.66 kB / 0.5491 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.139, allocations: 334.4 kB / 0.5494 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.139, allocations: 4.375 kB / 0.5494 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.139, allocations: 16.33 kB / 0.5494 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1393, allocations: 129.5 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1393, allocations: 0 / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1393, allocations: 7.984 kB / 0.5495 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1393, allocations: 7.938 kB / 0.5495 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1395, allocations: 99.86 kB / 0.5496 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.1402, allocations: 0.5081 MB / 0.5501 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1404, allocations: 106.5 kB / 0.5502 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.1405, allocations: 32.84 kB / 0.5503 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1405, allocations: 4 kB / 0.5503 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1406, allocations: 38.5 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1406, allocations: 0 / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009674/0.1415, allocations: 450.5 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1416, allocations: 55.41 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.1422, allocations: 0.5486 MB / 0.5513 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1422, allocations: 37.7 kB / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1424, allocations: 208.4 kB / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1424, allocations: 51.55 kB / 0.5516 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.1425, allocations: 37.7 kB / 0.5516 GB, free: 11.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1426, allocations: 350.8 kB / 0.552 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1428, allocations: 67.95 kB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1429, allocations: 63.95 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1432, allocations: 162.5 kB / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1432, allocations: 0 / 0.5523 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003757/0.1436, allocations: 229.3 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1436, allocations: 6.031 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1436, allocations: 0 / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1436, allocations: 4 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1437, allocations: 27.98 kB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1437, allocations: 4 kB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.1438, allocations: 19.92 kB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1438, allocations: 4 kB / 0.5525 GB, free: 10.1 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.0002386/0.1441, allocations: 185.7 kB / 0.5527 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.1441, allocations: 39.72 kB / 0.5527 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.1447, allocations: 285.4 kB / 0.553 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1447, allocations: 0 / 0.553 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1447, allocations: 7.938 kB / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1447, allocations: 0 / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.1457, allocations: 0.6839 MB / 0.5537 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1457, allocations: 3.938 kB / 0.5537 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1458, allocations: 35.91 kB / 0.5537 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1458, allocations: 0 / 0.5537 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1458, allocations: 4 kB / 0.5537 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1458, allocations: 3.938 kB / 0.5537 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1458, allocations: 4 kB / 0.5537 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.1462, allocations: 327.1 kB / 0.5541 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1463, allocations: 120.8 kB / 0.5542 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1464, allocations: 8 kB / 0.5542 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.1465, allocations: 7.938 kB / 0.5542 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1465, allocations: 15.92 kB / 0.5542 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.1465, allocations: 8 kB / 0.5542 GB, free: 8.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00047/0.147, allocations: 419.1 kB / 0.5546 GB, free: 7.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 0.5546 GB, free: 7.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.1473, allocations: 51.92 kB / 0.5547 GB, free: 7.812 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.003276/0.1506, allocations: 1.46 MB / 0.5561 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1509, allocations: 166.5 kB / 0.5562 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1509, allocations: 0 / 0.5562 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1511, allocations: 83.89 kB / 0.5563 GB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.1516, allocations: 78.39 kB / 0.5564 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.1556, allocations: 3.215 MB / 0.5595 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.156, allocations: 0.8182 MB / 0.5603 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1562, allocations: 62.23 kB / 0.5604 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.1563, allocations: 123.4 kB / 0.5605 GB, free: 1.996 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1563, allocations: 3.938 kB / 0.5605 GB, free: 1.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.1869, allocations: 7.526 MB / 0.5679 GB, free: 10.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.453, allocations: 15.16 kB / 0.5679 GB, free: 10.47 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.455189370084554]