Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001255/0.001255, allocations: 119 kB / 18.5 MB, free: 4.582 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.001285/0.001285, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.633 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.2251/0.2251, allocations: 44.91 MB / 349.6 MB, free: 1.777 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.91 kB / 491.8 MB, free: 29.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1321, allocations: 64.26 MB / 0.543 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003692/0.1357, allocations: 1.976 MB / 0.5449 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1378, allocations: 1.15 MB / 0.5461 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1379, allocations: 7.938 kB / 0.5461 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1382, allocations: 47.58 kB / 0.5461 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1386, allocations: 147.4 kB / 0.5463 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.1399, allocations: 0.5834 MB / 0.5468 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.1403, allocations: 275.4 kB / 0.5471 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1405, allocations: 56.72 kB / 0.5472 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1407, allocations: 127.3 kB / 0.5473 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.141, allocations: 187.4 kB / 0.5475 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.141, allocations: 12 kB / 0.5475 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1411, allocations: 63.86 kB / 0.5475 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.1413, allocations: 151.5 kB / 0.5477 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1415, allocations: 162.7 kB / 0.5478 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.142, allocations: 398 kB / 0.5482 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.142, allocations: 0 / 0.5482 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1421, allocations: 0 / 0.5482 GB, free: 14.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.1421, allocations: 0 / 0.5482 GB, free: 14.82 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001209/0.1433, allocations: 0.7889 MB / 0.549 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1433, allocations: 8.031 kB / 0.549 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.1434, allocations: 46.73 kB / 0.549 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.1435, allocations: 56.56 kB / 0.5491 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.1441, allocations: 476.2 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1442, allocations: 8.375 kB / 0.5495 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1442, allocations: 19.92 kB / 0.5496 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1445, allocations: 135.3 kB / 0.5497 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1445, allocations: 4 kB / 0.5497 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1445, allocations: 4 kB / 0.5497 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1446, allocations: 4 kB / 0.5497 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.1448, allocations: 99.86 kB / 0.5498 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1459, allocations: 0.6878 MB / 0.5505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.1461, allocations: 117.2 kB / 0.5506 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1463, allocations: 49.8 kB / 0.5506 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1463, allocations: 7.922 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1463, allocations: 34.56 kB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1463, allocations: 0 / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001494/0.1478, allocations: 0.5502 MB / 0.5512 GB, free: 11.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1479, allocations: 85.31 kB / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1489, allocations: 0.8819 MB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1489, allocations: 29.64 kB / 0.5522 GB, free: 10.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.1492, allocations: 256.3 kB / 0.5524 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.1492, allocations: 59.48 kB / 0.5525 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.1493, allocations: 33.7 kB / 0.5525 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.1496, allocations: 378.7 kB / 0.5529 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1497, allocations: 67.89 kB / 0.5529 GB, free: 9.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1499, allocations: 80.2 kB / 0.553 GB, free: 9.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.1503, allocations: 149.6 kB / 0.5532 GB, free: 9.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1503, allocations: 0.75 kB / 0.5532 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005031/0.1508, allocations: 249.1 kB / 0.5534 GB, free: 9.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1508, allocations: 4 kB / 0.5534 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1508, allocations: 0 / 0.5534 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1508, allocations: 8 kB / 0.5534 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.151, allocations: 35.97 kB / 0.5534 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.151, allocations: 4.25 kB / 0.5534 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1512, allocations: 19.98 kB / 0.5535 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1512, allocations: 7.938 kB / 0.5535 GB, free: 9.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002308/0.1514, allocations: 217.7 kB / 0.5537 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.1515, allocations: 59.62 kB / 0.5537 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.1522, allocations: 290.1 kB / 0.554 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1522, allocations: 0 / 0.554 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1522, allocations: 0 / 0.554 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1522, allocations: 4 kB / 0.554 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1534, allocations: 0.802 MB / 0.5548 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1534, allocations: 4 kB / 0.5548 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1536, allocations: 39.91 kB / 0.5548 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1536, allocations: 0 / 0.5548 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1536, allocations: 7.984 kB / 0.5548 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1536, allocations: 7.938 kB / 0.5549 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1536, allocations: 0 / 0.5549 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.1542, allocations: 414.3 kB / 0.5552 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.1544, allocations: 156.6 kB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1544, allocations: 4 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1546, allocations: 19.92 kB / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1547, allocations: 11.98 kB / 0.5554 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1547, allocations: 15.98 kB / 0.5554 GB, free: 7.008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007312/0.1554, allocations: 0.6393 MB / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1554, allocations: 0 / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1558, allocations: 59.94 kB / 0.5561 GB, free: 6.312 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 (16): * Single equations (assignments): 16 * 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.002331/0.1581, allocations: 1.251 MB / 0.5574 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.1586, allocations: 159.8 kB / 0.5575 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1586, allocations: 4 kB / 0.5575 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1588, allocations: 83.89 kB / 0.5576 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.1594, allocations: 82.05 kB / 0.5577 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/0.1666, allocations: 5.085 MB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.1671, allocations: 0.8653 MB / 0.5635 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.1674, allocations: 95.83 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.1676, allocations: 167.4 kB / 0.5637 GB, free: 14.57 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1676, allocations: 0 / 0.5637 GB, free: 14.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.2039, allocations: 9.818 MB / 0.5733 GB, free: 4.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.741, allocations: 3.938 kB / 0.5733 GB, free: 4.773 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.974176513962448]