Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.0017/0.0017, allocations: 104 kB / 16.4 MB, free: 6.465 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.00165/0.001651, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2136/0.2136, allocations: 43.52 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.001988/0.001988, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003642/0.1153, allocations: 2.032 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1172, allocations: 1.077 MB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.1173, allocations: 0 / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1176, allocations: 59.52 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.118, allocations: 159.3 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1192, allocations: 0.5497 MB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1196, allocations: 307.1 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.1198, allocations: 80.56 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.12, allocations: 135.4 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1203, allocations: 195.2 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.1203, allocations: 12 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1204, allocations: 39.98 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1206, allocations: 143.6 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1208, allocations: 174.6 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.1213, allocations: 417.9 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1213, allocations: 0 / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1213, allocations: 3.938 kB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1213, allocations: 0 / 0.4926 GB, free: 6.891 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001121/0.1224, allocations: 0.8122 MB / 0.4934 GB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1225, allocations: 11.89 kB / 0.4934 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.1225, allocations: 46.73 kB / 0.4935 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.1226, allocations: 60.52 kB / 0.4935 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.1232, allocations: 480.2 kB / 0.494 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1232, allocations: 8.375 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1233, allocations: 11.94 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.1236, allocations: 151.3 kB / 0.4942 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1236, allocations: 15.86 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1236, allocations: 7.938 kB / 0.4942 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1237, allocations: 4 kB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.124, allocations: 115.9 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1251, allocations: 0.7152 MB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1254, allocations: 137.1 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1256, allocations: 65.81 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1256, allocations: 7.984 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1256, allocations: 34.5 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1256, allocations: 4 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002085/0.1277, allocations: 0.7574 MB / 0.496 GB, free: 3.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.1278, allocations: 77.11 kB / 0.4961 GB, free: 3.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/0.1288, allocations: 0.8907 MB / 0.4969 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.1288, allocations: 29.7 kB / 0.4969 GB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.129, allocations: 260.4 kB / 0.4972 GB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.1291, allocations: 67.42 kB / 0.4973 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.1292, allocations: 45.66 kB / 0.4973 GB, free: 1.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1294, allocations: 374.7 kB / 0.4977 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.1297, allocations: 108.1 kB / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.13, allocations: 133.2 kB / 0.4979 GB, free: 1.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.1307, allocations: 257.4 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1307, allocations: 0 / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007686/0.1315, allocations: 349.1 kB / 0.4985 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1316, allocations: 8 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1316, allocations: 0 / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1316, allocations: 0 / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1319, allocations: 55.89 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.1319, allocations: 7.984 kB / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.1321, allocations: 27.97 kB / 0.4986 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1321, allocations: 4 kB / 0.4986 GB, free: 0.5352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002315/0.1324, allocations: 225.6 kB / 0.4988 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1325, allocations: 55.62 kB / 0.4988 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/0.1334, allocations: 398.1 kB / 0.4992 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1334, allocations: 4 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1334, allocations: 0 / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1334, allocations: 0 / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1349, allocations: 0.9584 MB / 0.5002 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1349, allocations: 0 / 0.5002 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1352, allocations: 55.98 kB / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1352, allocations: 7.938 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1352, allocations: 3.984 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1353, allocations: 11.94 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1353, allocations: 0 / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.1361, allocations: 0.5099 MB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.1362, allocations: 152.7 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.1363, allocations: 8 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1366, allocations: 27.91 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.1366, allocations: 19.97 kB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1367, allocations: 8 kB / 0.5009 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000743/0.1374, allocations: 0.6474 MB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 0 / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.1378, allocations: 67.94 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002464/0.1403, allocations: 1.352 MB / 0.503 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.141, allocations: 259.6 kB / 0.5032 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.141, allocations: 4 kB / 0.5032 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.1413, allocations: 143.8 kB / 0.5033 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.142, allocations: 70.97 kB / 0.5034 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007334/0.1493, allocations: 5.371 MB / 0.5087 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.1499, allocations: 0.877 MB / 0.5095 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.1502, allocations: 115.2 kB / 0.5096 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.1505, allocations: 179.4 kB / 0.5098 GB, free: 4.832 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1505, allocations: 0 / 0.5098 GB, free: 4.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.1838, allocations: 10.31 MB / 0.5199 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/8.928, allocations: 3.859 kB / 0.5199 GB, free: 10.48 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches