Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001384, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.25 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 60.84 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003402/0.1277, allocations: 1.567 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.1286, allocations: 423.2 kB / 471.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1287, allocations: 3.938 kB / 471.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.129, allocations: 123.7 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1293, allocations: 91.69 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1297, allocations: 103.7 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1299, allocations: 83.8 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.13, allocations: 24.17 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.1301, allocations: 43.83 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1303, allocations: 83.78 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1303, allocations: 4 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1304, allocations: 39.98 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1305, allocations: 31.91 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.1306, allocations: 35.69 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1308, allocations: 119.8 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1308, allocations: 4 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1308, allocations: 0 / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1308, allocations: 0 / 472.1 MB, free: 11.46 MB / 350.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.0005433/0.1314, allocations: 422.8 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1314, allocations: 12.03 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.1315, allocations: 34.75 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.1315, allocations: 8.844 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1318, allocations: 203.9 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1318, allocations: 12.36 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1318, allocations: 12.12 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.132, allocations: 57.66 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.132, allocations: 0 / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.132, allocations: 0 / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1321, allocations: 3.938 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1322, allocations: 27.97 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1326, allocations: 316.7 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1327, allocations: 46.5 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1328, allocations: 12.95 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1328, allocations: 7.984 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1328, allocations: 34.56 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1329, allocations: 0 / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009609/0.1338, allocations: 237 kB / 473.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1339, allocations: 59.33 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1341, allocations: 270.2 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1342, allocations: 29.69 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.1343, allocations: 120 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.1343, allocations: 23.66 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1344, allocations: 21.66 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1345, allocations: 326.8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.1346, allocations: 31.98 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.1347, allocations: 31.97 kB / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1349, allocations: 76.77 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1349, allocations: 0 / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002302/0.1351, allocations: 109.9 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1351, allocations: 4 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1351, allocations: 0 / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1352, allocations: 4 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.1353, allocations: 15.98 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.1353, allocations: 3.938 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.1353, allocations: 15.98 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1353, allocations: 4 kB / 474.7 MB, free: 8.688 MB / 350.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.0001048/0.1355, allocations: 137.8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1355, allocations: 15.8 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.1358, allocations: 135.3 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1358, allocations: 4 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1358, allocations: 3.938 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1358, allocations: 4 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.1366, allocations: 431.1 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1366, allocations: 3.938 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.1367, allocations: 23.92 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1368, allocations: 4 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1368, allocations: 0 / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1368, allocations: 4.031 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1368, allocations: 0 / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.1372, allocations: 208.3 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.1372, allocations: 100.8 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1373, allocations: 4 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1374, allocations: 8 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1375, allocations: 7.984 kB / 475.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1375, allocations: 0 / 475.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.1377, allocations: 203.2 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1377, allocations: 0 / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.1382, allocations: 24 kB / 476 MB, free: 7.285 MB / 350.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.002189/0.1404, allocations: 1.099 MB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1407, allocations: 75.89 kB / 477.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.1407, allocations: 4 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.1409, allocations: 43.89 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.1415, allocations: 23.08 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.1444, allocations: 1.819 MB / 479 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1448, allocations: 0.7158 MB / 479.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.1449, allocations: 16.66 kB / 479.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.145, allocations: 39.41 kB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.145, allocations: 0 / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1697, allocations: 3.275 MB / 483.1 MB, free: 292 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.78, allocations: 14 kB / 483.1 MB, free: 280 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches