Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.001002/0.001002, allocations: 102.6 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.00151/0.00151, allocations: 184.2 kB / 16.92 MB, free: 6.918 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.583/1.583, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.3484/0.3484, allocations: 43.58 MB / 315 MB, free: 8.793 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.0008352/0.0008355, allocations: 16 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1393, allocations: 58.87 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.001996/0.1413, allocations: 1.321 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006273/0.142, allocations: 327.6 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.142, allocations: 4 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1426, allocations: 443.2 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1429, allocations: 243.5 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1432, allocations: 107.8 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1434, allocations: 147.7 kB / 446.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.1435, allocations: 20.44 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1436, allocations: 99.73 kB / 446.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1438, allocations: 199.6 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1438, allocations: 0 / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.1439, allocations: 35.98 kB / 446.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.144, allocations: 79.62 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.1441, allocations: 128.7 kB / 446.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1444, allocations: 242.9 kB / 446.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1444, allocations: 0 / 446.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1444, allocations: 4 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1444, allocations: 0 / 446.9 MB, free: 9.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000637/0.1451, allocations: 0.5911 MB / 447.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1451, allocations: 12.03 kB / 447.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1452, allocations: 34.75 kB / 447.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1452, allocations: 40.47 kB / 447.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1455, allocations: 296.1 kB / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.1455, allocations: 384 / 447.9 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1455, allocations: 8.125 kB / 447.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1457, allocations: 57.66 kB / 447.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1457, allocations: 8 kB / 447.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1457, allocations: 0 / 447.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1457, allocations: 0 / 447.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1458, allocations: 27.92 kB / 448 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1463, allocations: 396.5 kB / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1465, allocations: 46.56 kB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1466, allocations: 16.94 kB / 448.4 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1466, allocations: 7.938 kB / 448.4 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1466, allocations: 30.56 kB / 448.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1466, allocations: 0 / 448.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005956/0.1472, allocations: 240 kB / 448.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1473, allocations: 51.41 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.1481, allocations: 0.8691 MB / 449.6 MB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1481, allocations: 33.64 kB / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1482, allocations: 220.1 kB / 449.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1483, allocations: 19.66 kB / 449.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.1483, allocations: 13.72 kB / 449.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1484, allocations: 362.8 kB / 450.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.1485, allocations: 23.98 kB / 450.3 MB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.1486, allocations: 19.98 kB / 450.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1487, allocations: 52.84 kB / 450.3 MB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1487, allocations: 0 / 450.3 MB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002028/0.1489, allocations: 125.2 kB / 450.5 MB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.149, allocations: 7.984 kB / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.149, allocations: 0 / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.149, allocations: 288 / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.1491, allocations: 15.94 kB / 450.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1491, allocations: 3.938 kB / 450.5 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.1492, allocations: 15.98 kB / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.1492, allocations: 0 / 450.5 MB, free: 5.355 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 (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.000177/0.1493, allocations: 209.8 kB / 450.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1494, allocations: 43.42 kB / 450.8 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.1497, allocations: 149.3 kB / 450.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1497, allocations: 0 / 450.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1497, allocations: 3.938 kB / 450.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1497, allocations: 0 / 450.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1502, allocations: 466.5 kB / 451.4 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1503, allocations: 4 kB / 451.4 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.1503, allocations: 15.98 kB / 451.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1503, allocations: 3.938 kB / 451.4 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1503, allocations: 4 kB / 451.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1503, allocations: 4 kB / 451.4 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1504, allocations: 3.938 kB / 451.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1506, allocations: 222.9 kB / 451.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.1507, allocations: 112.5 kB / 451.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1507, allocations: 11.86 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.1508, allocations: 8 kB / 451.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1509, allocations: 4 kB / 451.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1509, allocations: 3.984 kB / 451.7 MB, free: 4.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1515, allocations: 0.655 MB / 452.4 MB, free: 3.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 0 / 452.4 MB, free: 3.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1517, allocations: 20 kB / 452.4 MB, free: 3.332 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 (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.001374/0.1531, allocations: 1.062 MB / 453.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1533, allocations: 51.97 kB / 453.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1533, allocations: 0 / 453.5 MB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.1534, allocations: 35.92 kB / 453.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1538, allocations: 21.95 kB / 453.6 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1922/0.346, allocations: 3.312 MB / 456.9 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3463, allocations: 0.8227 MB / 457.7 MB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.3464, allocations: 14.2 kB / 457.7 MB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.3465, allocations: 99.08 kB / 457.8 MB, free: 44.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3466, allocations: 6.094 kB / 457.8 MB, free: 44.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.3736, allocations: 5.385 MB / 463.2 MB, free: 43.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004702/0.3741, allocations: 238 kB / 463.5 MB, free: 43.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.278, allocations: 0 / 463.5 MB, free: 43.67 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches