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.00588/0.00588, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001372/0.001372, allocations: 192.3 kB / 16.79 MB, free: 6.238 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.375/1.375, allocations: 205.1 MB / 222.7 MB, free: 4.742 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.3166/0.3166, allocations: 43.49 MB / 313.5 MB, free: 8.254 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.001481/0.001481, allocations: 63.89 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00333/0.1243, allocations: 1.668 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.125, allocations: 327.6 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.1251, allocations: 0 / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.1256, allocations: 451.2 kB / 442.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.126, allocations: 243.5 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1264, allocations: 103.8 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1266, allocations: 155.7 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1267, allocations: 16.45 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1269, allocations: 99.73 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1271, allocations: 199.6 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1272, allocations: 4 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1273, allocations: 39.91 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1274, allocations: 79.69 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.867e-05/0.1275, allocations: 99 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1278, allocations: 250.9 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1278, allocations: 0 / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1278, allocations: 0 / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1278, allocations: 0 / 443.6 MB, free: 10.8 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.0007937/0.1286, allocations: 0.6414 MB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1287, allocations: 12.03 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1288, allocations: 38.69 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.1288, allocations: 48.31 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1291, allocations: 296.1 kB / 444.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1292, allocations: 384 / 444.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1292, allocations: 8.125 kB / 444.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1294, allocations: 53.67 kB / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1294, allocations: 0 / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1294, allocations: 4 kB / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1294, allocations: 4 kB / 444.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.1295, allocations: 23.92 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.13, allocations: 388.7 kB / 445.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1302, allocations: 38.56 kB / 445.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.1303, allocations: 24.94 kB / 445.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1303, allocations: 3.938 kB / 445.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1304, allocations: 30.56 kB / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.1304, allocations: 0 / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006303/0.131, allocations: 219.9 kB / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1311, allocations: 59.41 kB / 445.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.1319, allocations: 0.8652 MB / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1319, allocations: 25.7 kB / 446.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.132, allocations: 224.1 kB / 446.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1321, allocations: 19.81 kB / 446.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1321, allocations: 17.72 kB / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1322, allocations: 362.8 kB / 447 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.1323, allocations: 15.98 kB / 447 MB, free: 7.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.1324, allocations: 24.17 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1325, allocations: 44.84 kB / 447.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1325, allocations: 0 / 447.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.1327, allocations: 125 kB / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1327, allocations: 4 kB / 447.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1327, allocations: 0 / 447.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1328, allocations: 0 / 447.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1328, allocations: 12 kB / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1328, allocations: 11.92 kB / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1329, allocations: 0 / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1329, allocations: 7.938 kB / 447.2 MB, free: 6.949 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.0001699/0.1331, allocations: 213.8 kB / 447.4 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.1331, allocations: 35.53 kB / 447.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.1334, allocations: 144.9 kB / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1334, allocations: 0 / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1334, allocations: 3.938 kB / 447.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1334, allocations: 288 / 447.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.1339, allocations: 454.5 kB / 448 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1339, allocations: 3.938 kB / 448.1 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.134, allocations: 12.19 kB / 448.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.134, allocations: 7.938 kB / 448.1 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.134, allocations: 11.92 kB / 448.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.134, allocations: 0 / 448.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.134, allocations: 3.984 kB / 448.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1343, allocations: 203.1 kB / 448.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1343, allocations: 116.5 kB / 448.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1344, allocations: 7.922 kB / 448.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1345, allocations: 8 kB / 448.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1345, allocations: 3.984 kB / 448.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1345, allocations: 4 kB / 448.4 MB, free: 5.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005413/0.1351, allocations: 0.6472 MB / 449.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 0 / 449.1 MB, free: 4.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1353, allocations: 24 kB / 449.1 MB, free: 4.965 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.001326/0.1367, allocations: 1.062 MB / 450.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1368, allocations: 43.97 kB / 450.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1369, allocations: 0 / 450.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1369, allocations: 27.92 kB / 450.2 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1373, allocations: 29.95 kB / 450.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.1408, allocations: 3.287 MB / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1922/0.333, allocations: 0.819 MB / 454.4 MB, free: 48.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.3331, allocations: 10.17 kB / 454.4 MB, free: 48.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3332, allocations: 104.9 kB / 454.5 MB, free: 48.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3332, allocations: 0 / 454.5 MB, free: 48.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.3486, allocations: 5.655 MB / 460.1 MB, free: 48.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.3487, allocations: 241.2 kB / 460.4 MB, free: 47.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.181, allocations: 7.375 kB / 460.4 MB, free: 47.8 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