Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0007882/0.0007884, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001007/0.001007, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2101/0.2101, allocations: 44.26 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 12 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 61.93 MB / 472.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002299/0.1207, allocations: 1.652 MB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1222, allocations: 0.8341 MB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.1223, allocations: 0 / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.1228, allocations: 235.5 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.1231, allocations: 183.5 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.1241, allocations: 463.6 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.1244, allocations: 251.4 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1246, allocations: 72.77 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1247, allocations: 111.5 kB / 476.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1249, allocations: 179.4 kB / 476.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1249, allocations: 4 kB / 476.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1251, allocations: 91.91 kB / 476.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1252, allocations: 83.67 kB / 476.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.1253, allocations: 124.8 kB / 476.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1257, allocations: 306.8 kB / 476.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1257, allocations: 0 / 476.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1257, allocations: 0 / 476.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1257, allocations: 4 kB / 476.9 MB, free: 8.637 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006668/0.1264, allocations: 0.6032 MB / 477.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1264, allocations: 11.97 kB / 477.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.1265, allocations: 42.69 kB / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.1265, allocations: 40.38 kB / 477.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1268, allocations: 314.3 kB / 477.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1269, allocations: 8.375 kB / 477.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1269, allocations: 12.38 kB / 477.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1271, allocations: 121.5 kB / 478 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1272, allocations: 3.906 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1272, allocations: 0 / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1272, allocations: 4 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1273, allocations: 79.89 kB / 478.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.128, allocations: 492.3 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1282, allocations: 98.47 kB / 478.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.1282, allocations: 40.84 kB / 478.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1283, allocations: 8 kB / 478.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1283, allocations: 34.5 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1283, allocations: 0 / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008797/0.1292, allocations: 400.1 kB / 479.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1292, allocations: 55.31 kB / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.1298, allocations: 0.5409 MB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1298, allocations: 29.7 kB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.13, allocations: 212.3 kB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.13, allocations: 47.2 kB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1301, allocations: 25.7 kB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1302, allocations: 354.8 kB / 480.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1303, allocations: 47.98 kB / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1304, allocations: 59.91 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.1307, allocations: 143.2 kB / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1307, allocations: 0 / 480.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000326/0.131, allocations: 189.2 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.131, allocations: 6.188 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1311, allocations: 4 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1311, allocations: 4 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1312, allocations: 39.91 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1312, allocations: 0 / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.1313, allocations: 15.91 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1313, allocations: 4 kB / 480.9 MB, free: 4.375 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 (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.0001524/0.1315, allocations: 177.7 kB / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.1316, allocations: 39.53 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.132, allocations: 249.4 kB / 481.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.132, allocations: 4 kB / 481.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.132, allocations: 0 / 481.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.132, allocations: 0 / 481.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.1328, allocations: 0.6386 MB / 482 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1328, allocations: 7.938 kB / 482 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1329, allocations: 35.98 kB / 482.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.133, allocations: 0 / 482.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.133, allocations: 7.984 kB / 482.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.133, allocations: 7.938 kB / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.133, allocations: 0 / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1334, allocations: 304.8 kB / 482.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.1335, allocations: 128.6 kB / 482.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1335, allocations: 4 kB / 482.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1336, allocations: 11.94 kB / 482.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1336, allocations: 11.98 kB / 482.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1337, allocations: 4 kB / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.1341, allocations: 411.1 kB / 482.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 0 / 482.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1344, allocations: 52 kB / 483 MB, free: 2.203 MB / 350.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.002109/0.1365, allocations: 1.427 MB / 484.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1368, allocations: 138.5 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1368, allocations: 0 / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.137, allocations: 83.81 kB / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1375, allocations: 73.44 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.1413, allocations: 3.172 MB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1417, allocations: 0.7948 MB / 488.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1418, allocations: 49.89 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.142, allocations: 127.4 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.142, allocations: 0 / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1593, allocations: 6.657 MB / 495.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1595, allocations: 240 kB / 495.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.025, allocations: 0 / 495.7 MB, free: 5.734 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches