Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001097/0.001097, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001271/0.001272, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.392/1.392, 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.2118/0.2118, allocations: 43.54 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.001345/0.001345, allocations: 71.89 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003477/0.1234, allocations: 1.554 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.1241, allocations: 323.4 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.1242, allocations: 4 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1246, allocations: 63.78 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1248, allocations: 63.8 kB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1251, allocations: 79.78 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1253, allocations: 67.88 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1254, allocations: 7.984 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.1255, allocations: 31.84 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1256, allocations: 47.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1256, allocations: 4 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.1257, allocations: 24 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1258, allocations: 23.91 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.1259, allocations: 27.75 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1261, allocations: 83.78 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1261, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1261, allocations: 0 / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1261, allocations: 0 / 0.4897 GB, free: 9.91 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.0005647/0.1267, allocations: 399 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1267, allocations: 11.89 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1268, allocations: 30.75 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1268, allocations: 12.75 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1271, allocations: 200.2 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1271, allocations: 384 / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1271, allocations: 4.375 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1273, allocations: 49.62 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1273, allocations: 0 / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1273, allocations: 0 / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1273, allocations: 4 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1274, allocations: 27.91 kB / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1279, allocations: 280.8 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1281, allocations: 42.55 kB / 0.4907 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.1282, allocations: 16.86 kB / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1282, allocations: 0 / 0.4908 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1282, allocations: 42.52 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1282, allocations: 4 kB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005385/0.1288, allocations: 137.3 kB / 0.4909 GB, free: 8.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1288, allocations: 55.34 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.129, allocations: 186.2 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.129, allocations: 25.7 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1291, allocations: 108 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1291, allocations: 19.75 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1292, allocations: 17.7 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1293, allocations: 330.8 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.1294, allocations: 15.98 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.1294, allocations: 15.98 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1296, allocations: 44.78 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1296, allocations: 4 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001818/0.1297, allocations: 93.75 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1298, allocations: 4 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1298, allocations: 0 / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1298, allocations: 0 / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.1299, allocations: 12 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1299, allocations: 0 / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.1299, allocations: 7.984 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1299, allocations: 3.938 kB / 0.4918 GB, free: 7.516 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 9.037e-05/0.13, allocations: 125.8 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1301, allocations: 11.89 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1303, allocations: 97.91 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1303, allocations: 0 / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1303, allocations: 0 / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1303, allocations: 0 / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.1307, allocations: 358.4 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.1308, allocations: 11.98 kB / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1308, allocations: 0 / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1309, allocations: 3.938 kB / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1309, allocations: 4 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1311, allocations: 183.4 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1311, allocations: 81.2 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1311, allocations: 8 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.1312, allocations: 3.938 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1313, allocations: 11.98 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1313, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1314, allocations: 151.9 kB / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1314, allocations: 3.938 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1317, allocations: 16 kB / 0.4929 GB, free: 6.355 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.001258/0.1329, allocations: 1.002 MB / 0.4938 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1331, allocations: 51.97 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1331, allocations: 0 / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.1332, allocations: 31.91 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1335, allocations: 15.94 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1352, allocations: 1.526 MB / 0.4954 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1355, allocations: 0.7041 MB / 0.4961 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.322e-05/0.1356, allocations: 4 kB / 0.4961 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.1356, allocations: 27.42 kB / 0.4961 GB, free: 2.902 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1356, allocations: 0 / 0.4961 GB, free: 2.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1548, allocations: 2.685 MB / 0.4988 GB, free: 208 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.745, allocations: 11.75 kB / 0.4988 GB, free: 196 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches