Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",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.001484/0.001484, allocations: 109 kB / 16.41 MB, free: 6.48 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.002024/0.002024, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.334/1.334, 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.1904/0.1904, allocations: 43.53 MB / 314.1 MB, free: 452 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.001548/0.001548, allocations: 70.03 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003007/0.1193, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.12, allocations: 327.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.1201, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1204, allocations: 79.77 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1207, allocations: 67.75 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.121, allocations: 95.75 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1212, allocations: 71.75 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1213, allocations: 19.97 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.1214, allocations: 35.84 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1215, allocations: 51.89 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1215, allocations: 0 / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.1216, allocations: 31.97 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1217, allocations: 15.94 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1217, allocations: 31.73 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1219, allocations: 87.72 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1219, allocations: 3.938 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1219, allocations: 0 / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1219, allocations: 0 / 0.4898 GB, free: 9.812 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.0004933/0.1224, allocations: 399 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1225, allocations: 15.89 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.1225, allocations: 38.73 kB / 0.4902 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1226, allocations: 8.844 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1228, allocations: 188.2 kB / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1228, allocations: 384 / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1228, allocations: 4.375 kB / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1229, allocations: 49.61 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.123, allocations: 3.938 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.123, allocations: 0 / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.123, allocations: 8 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.1231, allocations: 23.98 kB / 0.4905 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.1235, allocations: 292.8 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1237, allocations: 42.5 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.1237, allocations: 20.94 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1237, allocations: 4 kB / 0.4908 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1238, allocations: 30.56 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1238, allocations: 0 / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005141/0.1243, allocations: 161.2 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.1243, allocations: 51.41 kB / 0.4911 GB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1245, allocations: 206.2 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1245, allocations: 25.7 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.1246, allocations: 100.1 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1246, allocations: 23.66 kB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1246, allocations: 13.72 kB / 0.4914 GB, free: 7.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.1247, allocations: 330.8 kB / 0.4917 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.1248, allocations: 19.98 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.1249, allocations: 27.97 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.125, allocations: 44.83 kB / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.125, allocations: 0 / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.1252, allocations: 93.7 kB / 0.4919 GB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1252, allocations: 4 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1252, allocations: 4 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1253, allocations: 288 / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.985e-05/0.1253, allocations: 19.98 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1253, allocations: 0 / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.1254, allocations: 11.98 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1254, allocations: 3.938 kB / 0.492 GB, free: 7.355 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 8.634e-05/0.1255, allocations: 125.8 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1255, allocations: 11.89 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.1257, allocations: 105.9 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1258, allocations: 4 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1258, allocations: 0 / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1258, allocations: 0 / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.1262, allocations: 358.5 kB / 0.4925 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1262, allocations: 4 kB / 0.4925 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1263, allocations: 15.92 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1263, allocations: 3.938 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1263, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1263, allocations: 7.938 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1263, allocations: 4 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1265, allocations: 179.3 kB / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1266, allocations: 85.02 kB / 0.4928 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1266, allocations: 192 / 0.4928 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1267, allocations: 19.92 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1267, allocations: 4 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1267, allocations: 4 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1268, allocations: 164 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1268, allocations: 0 / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1271, allocations: 12 kB / 0.493 GB, free: 6.16 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.001202/0.1283, allocations: 1.007 MB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1285, allocations: 55.95 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1285, allocations: 4 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.1286, allocations: 27.92 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1289, allocations: 19.92 kB / 0.4941 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1305, allocations: 1.59 MB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1308, allocations: 0.7002 MB / 0.4963 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.1309, allocations: 11.98 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.131, allocations: 31.42 kB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.131, allocations: 0 / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.1509, allocations: 2.769 MB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/7.686, allocations: 11.83 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches