Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001222/0.001222, allocations: 105.5 kB / 16.4 MB, free: 6.512 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.001176/0.001177, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.51 MB / 314.1 MB, free: 460 kB / 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.002045/0.002045, allocations: 65.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1223, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003007/0.1254, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1268, allocations: 0.9418 MB / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.1269, allocations: 0 / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1272, allocations: 23.84 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1274, allocations: 55.7 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1276, allocations: 83.83 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1278, allocations: 71.75 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.1279, allocations: 15.98 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.128, allocations: 19.92 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1281, allocations: 27.84 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1281, allocations: 4 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1283, allocations: 43.98 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.1283, allocations: 11.98 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1283, allocations: 23.81 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1285, allocations: 91.64 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1286, allocations: 4 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1286, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1286, allocations: 0 / 0.4903 GB, free: 9.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005569/0.1291, allocations: 383 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1292, allocations: 11.89 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1292, allocations: 34.75 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1293, allocations: 4.891 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1295, allocations: 188.2 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1295, allocations: 12.31 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1295, allocations: 384 / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1297, allocations: 67.33 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1297, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1297, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1297, allocations: 4 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.382e-05/0.1298, allocations: 19.98 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1303, allocations: 288.8 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1305, allocations: 50.55 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1305, allocations: 12.86 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1306, allocations: 4.078 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1306, allocations: 38.56 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1306, allocations: 0 / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005535/0.1312, allocations: 137.5 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.1313, allocations: 77.11 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1314, allocations: 133.8 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1314, allocations: 25.7 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.1315, allocations: 96.12 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1315, allocations: 19.8 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1316, allocations: 21.66 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1317, allocations: 326.8 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1318, allocations: 19.98 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.1319, allocations: 41.69 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1321, allocations: 60.8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1321, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1323, allocations: 81.91 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1323, allocations: 8 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1323, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1323, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.1324, allocations: 11.98 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1324, allocations: 3.938 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1325, allocations: 11.98 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1325, allocations: 11.92 kB / 0.4924 GB, free: 6.891 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.0001046/0.1326, allocations: 117.8 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1326, allocations: 7.953 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1329, allocations: 89.62 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1329, allocations: 3.984 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1329, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1329, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.1334, allocations: 358.4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1334, allocations: 320 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.1335, allocations: 16 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1335, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1335, allocations: 7.984 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1335, allocations: 3.938 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1335, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1338, allocations: 183.4 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1338, allocations: 81.09 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1339, allocations: 0 / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1339, allocations: 7.938 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.134, allocations: 11.98 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.134, allocations: 0 / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.1341, allocations: 103.3 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1341, allocations: 4 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1344, allocations: 27.88 kB / 0.4934 GB, free: 5.777 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.002155/0.1365, allocations: 1.053 MB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1368, allocations: 51.89 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1368, allocations: 4 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1369, allocations: 23.98 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1373, allocations: 23.83 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1392, allocations: 1.412 MB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1396, allocations: 0.6885 MB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.1397, allocations: 20.34 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.1397, allocations: 23.42 kB / 0.4966 GB, free: 2.402 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1398, allocations: 4 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1676, allocations: 2.745 MB / 0.4993 GB, free: 15.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.914, allocations: 11.91 kB / 0.4993 GB, free: 15.57 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches