Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.0008334/0.0008333, allocations: 97.72 kB / 16.02 MB, free: 84 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.0009407/0.0009408, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.554/1.554, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.3498/0.3498, allocations: 43.58 MB / 315 MB, free: 8.668 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.0005827/0.0005825, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 58.85 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002178/0.1295, allocations: 1.351 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.1304, allocations: 0.6566 MB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.1305, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.1307, allocations: 27.89 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1309, allocations: 35.91 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1309, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1311, allocations: 47.88 kB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1311, allocations: 4 kB / 445.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.1311, allocations: 19.81 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.1312, allocations: 19.91 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1313, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.1313, allocations: 19.98 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.1314, allocations: 11.94 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1314, allocations: 49.5 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1316, allocations: 68.02 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1316, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1316, allocations: 0 / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1316, allocations: 0 / 445.8 MB, free: 10.27 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004044/0.132, allocations: 355.3 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1321, allocations: 12.03 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1321, allocations: 38.73 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.1321, allocations: 8.844 kB / 446.3 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1323, allocations: 172.3 kB / 446.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1323, allocations: 4.359 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1323, allocations: 8.359 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1325, allocations: 127.3 kB / 446.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1325, allocations: 3.938 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1326, allocations: 3.938 kB / 446.6 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.1326, allocations: 23.98 kB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.1327, allocations: 43.86 kB / 446.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.1334, allocations: 0.8944 MB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.1334, allocations: 169.2 kB / 447.7 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.1335, allocations: 96.11 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1335, allocations: 75.28 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.1336, allocations: 109.8 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1336, allocations: 0 / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.3e-05/0.1337, allocations: 33.61 kB / 448 MB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1337, allocations: 134.6 kB / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1339, allocations: 182.1 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.134, allocations: 29.7 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1341, allocations: 151.1 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.1341, allocations: 0 / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1342, allocations: 17.72 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1343, allocations: 322.8 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.1343, allocations: 31.98 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1345, allocations: 157.1 kB / 449 MB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1347, allocations: 208.8 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1347, allocations: 4 kB / 449.2 MB, free: 6.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002871/0.135, allocations: 193.3 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.135, allocations: 11.94 kB / 449.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.135, allocations: 4 kB / 449.4 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.135, allocations: 7.938 kB / 449.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1352, allocations: 31.98 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1352, allocations: 15.92 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.1353, allocations: 20.31 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1353, allocations: 12 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001229/0.1354, allocations: 217 kB / 449.7 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.1355, allocations: 116.8 kB / 449.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1355, allocations: 112.8 kB / 449.9 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.1356, allocations: 176.3 kB / 450.1 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.001e-05/0.1357, allocations: 192.2 kB / 450.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.1357, allocations: 180.3 kB / 450.5 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.136, allocations: 425.2 kB / 450.9 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/0.136, allocations: 112.8 kB / 451 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.136, allocations: 101 kB / 451.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.898e-05/0.1361, allocations: 180.2 kB / 451.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.1362, allocations: 188.3 kB / 451.5 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.929e-05/0.1362, allocations: 176.3 kB / 451.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.343e-05/0.1363, allocations: 188.2 kB / 451.8 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1365, allocations: 311.6 kB / 452.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.1366, allocations: 194 kB / 452.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.1367, allocations: 180.2 kB / 452.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1368, allocations: 104.9 kB / 452.6 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.1368, allocations: 176.3 kB / 452.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.1369, allocations: 108.9 kB / 452.9 MB, free: 2.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.137, allocations: 136 kB / 453 MB, free: 2.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.137, allocations: 0 / 453 MB, free: 2.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1373, allocations: 16 kB / 453 MB, free: 2.473 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 (0): * Single equations (assignments): 0 * 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.0008265/0.1381, allocations: 0.9225 MB / 453.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1383, allocations: 84.17 kB / 454 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1383, allocations: 4 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.1383, allocations: 3.938 kB / 454 MB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1387, allocations: 0.5232 MB / 454.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2196/0.3584, allocations: 1.882 MB / 456.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3586, allocations: 0.7016 MB / 457.1 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.3587, allocations: 50.66 kB / 457.2 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.3588, allocations: 26.03 kB / 457.2 MB, free: 44.59 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3588, allocations: 0 / 457.2 MB, free: 44.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.3707, allocations: 1.71 MB / 458.9 MB, free: 44.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.3709, allocations: 235.7 kB / 459.1 MB, free: 44.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.161, allocations: 0 / 459.1 MB, free: 44.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches