Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001236/0.001235, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001084/0.001085, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.508/1.508, allocations: 222.9 MB / 241.9 MB, free: 15.49 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.2611/0.2611, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.5 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003568/0.1261, allocations: 1.629 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.1268, allocations: 427.2 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.1269, allocations: 4 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.1274, allocations: 447.2 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1278, allocations: 247.5 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1283, allocations: 155.1 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1285, allocations: 159.7 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1287, allocations: 12 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1288, allocations: 111.7 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1291, allocations: 215.6 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1291, allocations: 4 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.1292, allocations: 20 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1293, allocations: 79.69 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.1294, allocations: 103 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1297, allocations: 247.2 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1297, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1297, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1297, allocations: 4 kB / 472.6 MB, free: 10.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006572/0.1304, allocations: 0.6297 MB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1304, allocations: 8.031 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.1305, allocations: 34.75 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.1305, allocations: 40.41 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1308, allocations: 308.1 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1308, allocations: 384 / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1308, allocations: 4.375 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.131, allocations: 53.56 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.131, allocations: 3.938 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.131, allocations: 8 kB / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.131, allocations: 0 / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.1311, allocations: 19.98 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1316, allocations: 388.7 kB / 474.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.1317, allocations: 42.5 kB / 474.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1318, allocations: 12.92 kB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1318, allocations: 0 / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1318, allocations: 34.55 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1318, allocations: 0 / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000253/0.1321, allocations: 97.22 kB / 474.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1321, allocations: 59.52 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.1329, allocations: 0.8653 MB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1329, allocations: 25.7 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1331, allocations: 220 kB / 475.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1331, allocations: 11.84 kB / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1331, allocations: 13.72 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1333, allocations: 362.7 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.1333, allocations: 16 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.1334, allocations: 11.98 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.466e-05/0.1335, allocations: 24.84 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1335, allocations: 0 / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001383/0.1336, allocations: 89.12 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1336, allocations: 8 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1336, allocations: 0 / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1337, allocations: 8.078 kB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.1337, allocations: 11.94 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1337, allocations: 0 / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1338, allocations: 8 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1338, allocations: 0 / 476 MB, free: 7.172 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 (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.0001684/0.134, allocations: 217.6 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.134, allocations: 39.44 kB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.1342, allocations: 116.6 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1343, allocations: 4 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1343, allocations: 0 / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1343, allocations: 3.984 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1345, allocations: 281.5 kB / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1345, allocations: 0 / 476.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1346, allocations: 8 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1346, allocations: 0 / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1346, allocations: 4 kB / 476.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1346, allocations: 3.938 kB / 476.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1346, allocations: 3.938 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1348, allocations: 191 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.1349, allocations: 112.5 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1349, allocations: 0 / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.135, allocations: 7.984 kB / 477 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.135, allocations: 0 / 477 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.135, allocations: 0 / 477 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.1356, allocations: 0.659 MB / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1356, allocations: 0 / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1359, allocations: 23.94 kB / 477.7 MB, free: 5.414 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 (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.001213/0.1371, allocations: 0.967 MB / 478.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1373, allocations: 27.98 kB / 478.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1373, allocations: 4 kB / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.1373, allocations: 11.98 kB / 478.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1377, allocations: 26.42 kB / 478.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1412, allocations: 3.228 MB / 481.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.1417, allocations: 0.8221 MB / 482.8 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.1417, allocations: 16.05 kB / 482.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1419, allocations: 111.4 kB / 482.9 MB, free: 188 kB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1419, allocations: 4 kB / 482.9 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1602, allocations: 5.518 MB / 488.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.1604, allocations: 238.9 kB / 488.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.014, allocations: 4.062 kB / 488.6 MB, free: 10.51 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches