Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001538/0.001537, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001522/0.001522, allocations: 192.1 kB / 16.9 MB, free: 6.184 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.659/1.659, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.3929/0.3929, allocations: 43.5 MB / 313.6 MB, free: 8.492 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.001574/0.001574, allocations: 71.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1284, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003037/0.1314, allocations: 1.664 MB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.132, allocations: 323.6 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.132, allocations: 0 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.1325, allocations: 455.2 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1327, allocations: 243.5 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.133, allocations: 103.8 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1331, allocations: 151.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.1332, allocations: 16.45 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.1333, allocations: 111.7 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1335, allocations: 219.6 kB / 443.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1335, allocations: 4 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.1336, allocations: 32 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.1336, allocations: 83.62 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.1337, allocations: 103 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1339, allocations: 255 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1339, allocations: 0 / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.12e-07/0.1339, allocations: 0 / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1339, allocations: 0 / 443.8 MB, free: 10.9 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.0005322/0.1345, allocations: 0.6375 MB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.378e-05/0.1345, allocations: 11.89 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.1345, allocations: 34.75 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1346, allocations: 44.38 kB / 444.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1348, allocations: 304.1 kB / 444.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1348, allocations: 8.344 kB / 444.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1348, allocations: 8.125 kB / 444.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.135, allocations: 49.69 kB / 444.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.135, allocations: 0 / 444.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.135, allocations: 8 kB / 444.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-06/0.135, allocations: 0 / 444.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.1351, allocations: 23.98 kB / 444.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1354, allocations: 388.6 kB / 445.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1355, allocations: 46.56 kB / 445.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.1356, allocations: 16.8 kB / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1356, allocations: 0 / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.1356, allocations: 38.64 kB / 445.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.1356, allocations: 0 / 445.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004642/0.1361, allocations: 224 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1362, allocations: 55.41 kB / 445.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.1369, allocations: 0.8691 MB / 446.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1369, allocations: 29.64 kB / 446.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.137, allocations: 220.1 kB / 446.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.1371, allocations: 19.75 kB / 446.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1371, allocations: 21.64 kB / 446.8 MB, free: 7.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1372, allocations: 358.8 kB / 447.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.1373, allocations: 19.98 kB / 447.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.1374, allocations: 23.98 kB / 447.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1375, allocations: 40.83 kB / 447.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1375, allocations: 4 kB / 447.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1377, allocations: 113.1 kB / 447.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1377, allocations: 4 kB / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.1377, allocations: 0 / 447.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.1377, allocations: 4 kB / 447.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.1378, allocations: 19.92 kB / 447.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1378, allocations: 3.938 kB / 447.4 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.1379, allocations: 4 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1379, allocations: 0 / 447.4 MB, free: 7.051 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.000171/0.138, allocations: 213.8 kB / 447.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.1381, allocations: 39.53 kB / 447.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.1384, allocations: 145.2 kB / 447.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1384, allocations: 4 kB / 447.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1384, allocations: 3.938 kB / 447.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1384, allocations: 0 / 447.8 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.1389, allocations: 458.4 kB / 448.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1389, allocations: 0 / 448.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1389, allocations: 11.98 kB / 448.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.139, allocations: 7.938 kB / 448.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.139, allocations: 4 kB / 448.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.139, allocations: 3.938 kB / 448.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.139, allocations: 0 / 448.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1392, allocations: 207 kB / 448.5 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.1393, allocations: 112.5 kB / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1393, allocations: 7.938 kB / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.1394, allocations: 8 kB / 448.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.1394, allocations: 8.266 kB / 448.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1394, allocations: 0 / 448.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.14, allocations: 0.6472 MB / 449.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.14, allocations: 4 kB / 449.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1402, allocations: 23.98 kB / 449.3 MB, free: 5.059 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.001242/0.1415, allocations: 1.055 MB / 450.4 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1416, allocations: 47.97 kB / 450.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1417, allocations: 0 / 450.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.1417, allocations: 27.92 kB / 450.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1421, allocations: 37.75 kB / 450.5 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.1452, allocations: 3.281 MB / 453.8 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1609/0.3061, allocations: 0.8244 MB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.3062, allocations: 8.547 kB / 454.6 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3064, allocations: 103.8 kB / 454.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3064, allocations: 0.8125 kB / 454.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3368/0.6432, allocations: 5.72 MB / 460.4 MB, free: 48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.6434, allocations: 238.8 kB / 460.6 MB, free: 47.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.61, allocations: 0 / 460.6 MB, free: 47.73 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches