Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.001091/0.001091, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001096/0.001096, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2109/0.2109, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001694/0.001694, allocations: 70.94 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1287, allocations: 57.8 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003063/0.1318, allocations: 1.546 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006006/0.1325, allocations: 315.6 kB / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.1326, allocations: 0 / 442.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.133, allocations: 455.1 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.1334, allocations: 255.4 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1336, allocations: 107.4 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1338, allocations: 143.8 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.1339, allocations: 12.27 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1341, allocations: 111.7 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1343, allocations: 203.6 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1343, allocations: 4 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.1344, allocations: 19.98 kB / 443.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.1345, allocations: 83.69 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1345, allocations: 95 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1348, allocations: 243 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1348, allocations: 4 kB / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1348, allocations: 0 / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1348, allocations: 0 / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006071/0.1354, allocations: 0.6335 MB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1354, allocations: 15.89 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1355, allocations: 34.75 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1356, allocations: 44.38 kB / 444.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1358, allocations: 292.2 kB / 445.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1358, allocations: 4.375 kB / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.1358, allocations: 4.375 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.136, allocations: 45.62 kB / 445.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.136, allocations: 0 / 445.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.136, allocations: 4 kB / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.136, allocations: 0 / 445.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.1361, allocations: 31.92 kB / 445.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1365, allocations: 372.8 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.1366, allocations: 30.56 kB / 445.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.1367, allocations: 20.84 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1367, allocations: 0 / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1367, allocations: 38.5 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1367, allocations: 0 / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002631/0.137, allocations: 101.1 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.137, allocations: 51.41 kB / 445.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/0.1376, allocations: 0.8613 MB / 446.7 MB, free: 496 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1376, allocations: 29.7 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1378, allocations: 224 kB / 447 MB, free: 232 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1378, allocations: 7.891 kB / 447 MB, free: 224 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1378, allocations: 17.7 kB / 447 MB, free: 200 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.138, allocations: 366.9 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.138, allocations: 11.98 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.1381, allocations: 8 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1382, allocations: 28.78 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1382, allocations: 0 / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.1384, allocations: 85.22 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1384, allocations: 4.094 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1385, allocations: 4 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1385, allocations: 0 / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.1386, allocations: 7.984 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1386, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.1386, allocations: 7.906 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1386, allocations: 0 / 447.5 MB, free: 15.66 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0002062/0.1389, allocations: 217.6 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.1389, allocations: 39.53 kB / 447.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.1391, allocations: 108.6 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1392, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1392, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1392, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.1395, allocations: 285.5 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1395, allocations: 0 / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.1395, allocations: 4 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1395, allocations: 0 / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1396, allocations: 0 / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1396, allocations: 32 / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1396, allocations: 4 kB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1398, allocations: 198.8 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.1399, allocations: 104.6 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1399, allocations: 0 / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.14, allocations: 11.98 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.14, allocations: 0 / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.14, allocations: 7.969 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.1407, allocations: 0.6511 MB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1407, allocations: 7.938 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1409, allocations: 19.92 kB / 449.2 MB, free: 13.93 MB / 334.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 (2): * Single equations (assignments): 2 * 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.001249/0.1422, allocations: 0.9622 MB / 450.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1424, allocations: 15.98 kB / 450.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1424, allocations: 0 / 450.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.1424, allocations: 16.06 kB / 450.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1429, allocations: 31.27 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1466, allocations: 3.141 MB / 453.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.147, allocations: 0.818 MB / 454.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.1471, allocations: 4 kB / 454.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1472, allocations: 115.4 kB / 454.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1472, allocations: 0 / 454.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.1749, allocations: 5.565 MB / 459.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.406, allocations: 11.22 kB / 459.8 MB, free: 3.152 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches