Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001308/0.001308, 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.001323/0.001323, 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.505/1.505, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.2438/0.2438, allocations: 44.91 MB / 349.6 MB, free: 1.793 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 64.62 kB / 491.8 MB, free: 30.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 64.26 MB / 0.543 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003221/0.1379, allocations: 1.621 MB / 0.5446 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.1388, allocations: 427.1 kB / 0.545 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.1388, allocations: 8 kB / 0.545 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.1395, allocations: 455.1 kB / 0.5455 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.1399, allocations: 247.4 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1403, allocations: 131.6 kB / 0.5458 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.1406, allocations: 159.7 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1407, allocations: 12.41 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1408, allocations: 111.8 kB / 0.5461 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1411, allocations: 243.5 kB / 0.5463 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1411, allocations: 8 kB / 0.5463 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.1412, allocations: 35.98 kB / 0.5464 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1413, allocations: 83.69 kB / 0.5464 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/0.1414, allocations: 99 kB / 0.5465 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.1418, allocations: 258.6 kB / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1418, allocations: 0 / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1418, allocations: 0 / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1418, allocations: 3.938 kB / 0.5468 GB, free: 204 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009018/0.1427, allocations: 0.6429 MB / 0.5474 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.1428, allocations: 12.03 kB / 0.5474 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.1428, allocations: 42.73 kB / 0.5475 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1429, allocations: 44.66 kB / 0.5475 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1432, allocations: 300.6 kB / 0.5478 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1432, allocations: 4.312 kB / 0.5478 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1433, allocations: 6.625 kB / 0.5478 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1434, allocations: 49.69 kB / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1434, allocations: 3.938 kB / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1434, allocations: 0 / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1434, allocations: 0 / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.1435, allocations: 31.97 kB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1441, allocations: 384.7 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1443, allocations: 54.48 kB / 0.5483 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.1443, allocations: 12.94 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1443, allocations: 0 / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1444, allocations: 42.56 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1444, allocations: 0 / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006262/0.145, allocations: 232.5 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.1451, allocations: 51.41 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.146, allocations: 0.8652 MB / 0.5495 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1461, allocations: 29.64 kB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1463, allocations: 220.1 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1463, allocations: 19.89 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.1464, allocations: 13.72 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1466, allocations: 358.8 kB / 0.5501 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1467, allocations: 19.98 kB / 0.5501 GB, free: 12.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.1467, allocations: 19.98 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1469, allocations: 44.83 kB / 0.5502 GB, free: 12.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1469, allocations: 7.938 kB / 0.5502 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000215/0.1471, allocations: 117.3 kB / 0.5503 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1471, allocations: 4.781 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1471, allocations: 0 / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1471, allocations: 7.984 kB / 0.5503 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.1472, allocations: 8.25 kB / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1472, allocations: 0 / 0.5503 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1473, allocations: 15.98 kB / 0.5503 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1473, allocations: 0 / 0.5503 GB, free: 12.33 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 (5): * Single equations (assignments): 5 * 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.0002249/0.1475, allocations: 209.8 kB / 0.5505 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.1476, allocations: 51.61 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.1479, allocations: 136.9 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1479, allocations: 4 kB / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1479, allocations: 0 / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1479, allocations: 4 kB / 0.5507 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.1485, allocations: 466.3 kB / 0.5512 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1485, allocations: 0 / 0.5512 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.1485, allocations: 11.98 kB / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1485, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1486, allocations: 4 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1486, allocations: 0 / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1486, allocations: 0 / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1488, allocations: 219.2 kB / 0.5514 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1489, allocations: 108.8 kB / 0.5515 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.149, allocations: 0 / 0.5515 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.149, allocations: 11.98 kB / 0.5515 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1491, allocations: 4 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1491, allocations: 0 / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.1498, allocations: 0.655 MB / 0.5521 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1498, allocations: 7.938 kB / 0.5521 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.15, allocations: 20 kB / 0.5522 GB, free: 10.33 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 (5): * Single equations (assignments): 5 * 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.001997/0.152, allocations: 1.058 MB / 0.5532 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1522, allocations: 51.89 kB / 0.5533 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1522, allocations: 0 / 0.5533 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.1523, allocations: 23.98 kB / 0.5533 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1527, allocations: 19.69 kB / 0.5533 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.1568, allocations: 3.199 MB / 0.5564 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.1573, allocations: 0.8298 MB / 0.5572 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1574, allocations: 15.92 kB / 0.5572 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1575, allocations: 111.3 kB / 0.5573 GB, free: 5.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1575, allocations: 3.938 kB / 0.5574 GB, free: 5.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.1872, allocations: 6.005 MB / 0.5632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.625, allocations: 8 kB / 0.5632 GB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.856513226870447]