Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.0007658/0.0007661, allocations: 102.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 185.5 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3985/0.3985, allocations: 43.57 MB / 315 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005229, allocations: 23.98 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002487/0.1312, allocations: 1.652 MB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1326, allocations: 0.6433 MB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1328, allocations: 4 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.1334, allocations: 243.5 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.1339, allocations: 171.5 kB / 446.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1349, allocations: 427.2 kB / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.1353, allocations: 259.4 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.1355, allocations: 56.94 kB / 447 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1357, allocations: 123.4 kB / 447.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.136, allocations: 175.4 kB / 447.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.136, allocations: 7.938 kB / 447.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1362, allocations: 63.89 kB / 447.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1363, allocations: 75.75 kB / 447.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1364, allocations: 132.7 kB / 447.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1367, allocations: 286.9 kB / 447.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1368, allocations: 3.984 kB / 447.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1368, allocations: 0 / 447.8 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1368, allocations: 4 kB / 447.8 MB, free: 8.512 MB / 382.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.0006774/0.1375, allocations: 0.5953 MB / 448.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1375, allocations: 8.031 kB / 448.4 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1376, allocations: 50.67 kB / 448.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.1376, allocations: 36.47 kB / 448.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.138, allocations: 318.2 kB / 448.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.138, allocations: 4.375 kB / 448.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1381, allocations: 12.38 kB / 448.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.1383, allocations: 121.5 kB / 449 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1383, allocations: 0 / 449 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1383, allocations: 7.938 kB / 449 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1383, allocations: 4 kB / 449 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1385, allocations: 71.95 kB / 449 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.1392, allocations: 0.4886 MB / 449.5 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1395, allocations: 94.48 kB / 449.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.1396, allocations: 32.84 kB / 449.7 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1396, allocations: 15.97 kB / 449.7 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1396, allocations: 38.5 kB / 449.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1396, allocations: 0 / 449.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009043/0.1406, allocations: 396 kB / 450.1 MB, free: 6.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1406, allocations: 51.41 kB / 450.2 MB, free: 5.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.1412, allocations: 0.5447 MB / 450.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1412, allocations: 29.7 kB / 450.7 MB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1413, allocations: 196.4 kB / 450.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.1414, allocations: 67.08 kB / 451 MB, free: 5.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1414, allocations: 17.72 kB / 451 MB, free: 5.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1416, allocations: 354.8 kB / 451.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1417, allocations: 55.97 kB / 451.4 MB, free: 4.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1418, allocations: 59.91 kB / 451.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.142, allocations: 132.2 kB / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.142, allocations: 0 / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003203/0.1424, allocations: 205 kB / 451.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1424, allocations: 4 kB / 451.8 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1424, allocations: 0 / 451.8 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1424, allocations: 8 kB / 451.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1426, allocations: 35.92 kB / 451.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1426, allocations: 0 / 451.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1427, allocations: 15.98 kB / 451.9 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1427, allocations: 4 kB / 451.9 MB, free: 4.242 MB / 382.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.0001526/0.1428, allocations: 169.8 kB / 452 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.1429, allocations: 39.53 kB / 452.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.1434, allocations: 257.2 kB / 452.3 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1434, allocations: 4 kB / 452.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1434, allocations: 0 / 452.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1434, allocations: 0 / 452.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.1441, allocations: 0.6344 MB / 452.9 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1441, allocations: 0 / 452.9 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1442, allocations: 35.98 kB / 453 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1443, allocations: 0 / 453 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1443, allocations: 11.98 kB / 453 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1443, allocations: 3.938 kB / 453 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1443, allocations: 0 / 453 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1446, allocations: 310.9 kB / 453.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.1447, allocations: 120.6 kB / 453.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.1448, allocations: 4 kB / 453.4 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.1449, allocations: 11.94 kB / 453.4 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.1449, allocations: 15.97 kB / 453.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.145, allocations: 8 kB / 453.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004326/0.1454, allocations: 407.1 kB / 453.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1454, allocations: 0 / 453.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1457, allocations: 51.98 kB / 453.9 MB, free: 2.086 MB / 382.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.00212/0.1478, allocations: 1.437 MB / 455.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.1482, allocations: 143.8 kB / 455.5 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1482, allocations: 0 / 455.5 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1483, allocations: 83.89 kB / 455.6 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.1489, allocations: 65.45 kB / 455.6 MB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2098/0.3587, allocations: 3.167 MB / 458.8 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.359, allocations: 0.8035 MB / 459.6 MB, free: 44.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.3592, allocations: 46.88 kB / 459.6 MB, free: 44.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.3594, allocations: 120.6 kB / 459.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3594, allocations: 0 / 459.8 MB, free: 44.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.383, allocations: 6.644 MB / 466.4 MB, free: 43.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.3832, allocations: 234.7 kB / 466.6 MB, free: 43.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.369, allocations: 0 / 466.6 MB, free: 43.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches