Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001404/0.001404, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001339/0.001339, allocations: 189.5 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.421/1.421, 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.2165/0.2165, allocations: 43.53 MB / 314.1 MB, free: 456 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.002103/0.002103, allocations: 65.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1191, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00341/0.1225, allocations: 1.554 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006514/0.1232, allocations: 323.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.1233, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1235, allocations: 23.84 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.1237, allocations: 39.84 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1239, allocations: 71.78 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1241, allocations: 63.83 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.1242, allocations: 7.984 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1243, allocations: 23.86 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.1243, allocations: 19.92 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1243, allocations: 0 / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.1244, allocations: 35.92 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1245, allocations: 15.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.1245, allocations: 27.81 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1247, allocations: 75.67 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1247, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1247, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1247, allocations: 0 / 0.4896 GB, free: 10.01 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.0005079/0.1252, allocations: 383 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1253, allocations: 11.89 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1253, allocations: 38.69 kB / 0.49 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1254, allocations: 4.891 kB / 0.49 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1256, allocations: 192.2 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1256, allocations: 4.375 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1256, allocations: 4.312 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1258, allocations: 53.62 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1258, allocations: 3.984 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1258, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1258, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.1259, allocations: 23.97 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1263, allocations: 288.7 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1265, allocations: 38.56 kB / 0.4906 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.1265, allocations: 16.86 kB / 0.4906 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1266, allocations: 0 / 0.4906 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1266, allocations: 30.56 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1266, allocations: 4 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.1272, allocations: 137.5 kB / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1272, allocations: 55.39 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1274, allocations: 152.5 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1274, allocations: 25.7 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1276, allocations: 96.12 kB / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1276, allocations: 27.73 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1277, allocations: 17.72 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1278, allocations: 322.8 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.1279, allocations: 19.98 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.128, allocations: 20.17 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1281, allocations: 44.83 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1281, allocations: 4 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001795/0.1283, allocations: 81.56 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1283, allocations: 4 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1283, allocations: 0 / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1284, allocations: 4 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.1284, allocations: 15.92 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1284, allocations: 0 / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.1285, allocations: 11.94 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.1285, allocations: 0 / 0.4917 GB, free: 7.688 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.0001224/0.1286, allocations: 129.8 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1287, allocations: 7.953 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.1289, allocations: 81.97 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1289, allocations: 7.938 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1289, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1289, allocations: 3.938 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.1294, allocations: 350.5 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1294, allocations: 0 / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1294, allocations: 12.17 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1294, allocations: 0 / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1295, allocations: 7.938 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1295, allocations: 4 kB / 0.4922 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1295, allocations: 0 / 0.4922 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1297, allocations: 183.4 kB / 0.4924 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1298, allocations: 81.06 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1298, allocations: 3.938 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.1298, allocations: 4 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1299, allocations: 7.984 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.1299, allocations: 4 kB / 0.4925 GB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.13, allocations: 116 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.13, allocations: 0 / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1302, allocations: 20 kB / 0.4926 GB, free: 6.574 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.001893/0.1321, allocations: 1.003 MB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1324, allocations: 51.91 kB / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1324, allocations: 0 / 0.4937 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.1324, allocations: 27.97 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1328, allocations: 15.22 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1344, allocations: 1.429 MB / 0.4951 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1347, allocations: 0.6924 MB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.1347, allocations: 4 kB / 0.4958 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.1348, allocations: 27.42 kB / 0.4958 GB, free: 3.234 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1348, allocations: 4 kB / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.159, allocations: 2.507 MB / 0.4983 GB, free: 0.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.1, allocations: 8.047 kB / 0.4983 GB, free: 0.6992 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches