Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001352/0.001352, allocations: 107 kB / 16.41 MB, free: 6.5 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.001335/0.001335, allocations: 192.1 kB / 17.34 MB, free: 5.758 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.372/1.372, 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.2074/0.2074, allocations: 43.52 MB / 314.1 MB, free: 464 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.002285/0.002285, allocations: 64.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1066, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003125/0.1097, allocations: 1.55 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000657/0.1104, allocations: 319.5 kB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.1105, allocations: 0 / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1108, allocations: 71.77 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.111, allocations: 63.8 kB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1113, allocations: 83.72 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1115, allocations: 63.88 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.1116, allocations: 19.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.1117, allocations: 35.84 kB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1118, allocations: 51.81 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1118, allocations: 4 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.1119, allocations: 28 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.1119, allocations: 19.91 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.112, allocations: 27.75 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1122, allocations: 87.59 kB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1122, allocations: 4 kB / 0.4898 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1122, allocations: 0 / 0.4898 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1122, allocations: 4 kB / 0.4898 GB, free: 9.883 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.0004945/0.1127, allocations: 394.9 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1128, allocations: 11.89 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1128, allocations: 38.67 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1128, allocations: 16.84 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1131, allocations: 196.2 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1131, allocations: 384 / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1131, allocations: 12.38 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1132, allocations: 45.62 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1133, allocations: 0 / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1133, allocations: 4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1133, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1134, allocations: 23.97 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1137, allocations: 280.8 kB / 0.4907 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.114, allocations: 54.5 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.114, allocations: 12.94 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.114, allocations: 0 / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1141, allocations: 38.56 kB / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/0.1141, allocations: 0 / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005435/0.1146, allocations: 145.4 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1147, allocations: 51.41 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1149, allocations: 202.2 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.115, allocations: 29.7 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.115, allocations: 104.1 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1151, allocations: 19.83 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1151, allocations: 17.72 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1153, allocations: 330.8 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.1154, allocations: 15.98 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.1154, allocations: 19.98 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1156, allocations: 44.83 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1156, allocations: 0 / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.1158, allocations: 89.81 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1158, allocations: 7.938 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1158, allocations: 0 / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1158, allocations: 0 / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.1159, allocations: 19.92 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1159, allocations: 0 / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.116, allocations: 3.984 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.116, allocations: 11.92 kB / 0.4919 GB, free: 7.453 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.0001074/0.1161, allocations: 121.8 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.1161, allocations: 15.91 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1164, allocations: 97.95 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1164, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.1169, allocations: 350.5 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1169, allocations: 4 kB / 0.4925 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.117, allocations: 11.98 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.117, allocations: 4 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.117, allocations: 3.938 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.117, allocations: 3.938 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.117, allocations: 0 / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1173, allocations: 179.9 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1173, allocations: 97.02 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1174, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1174, allocations: 7.938 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1175, allocations: 11.97 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1175, allocations: 4 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1176, allocations: 160 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1179, allocations: 12 kB / 0.4929 GB, free: 6.281 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.001942/0.1198, allocations: 1.007 MB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1201, allocations: 47.95 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1201, allocations: 0 / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.1202, allocations: 31.92 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1205, allocations: 23.62 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1223, allocations: 1.547 MB / 0.4955 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1227, allocations: 0.7041 MB / 0.4962 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.1227, allocations: 8 kB / 0.4962 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.1228, allocations: 27.42 kB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1228, allocations: 4 kB / 0.4963 GB, free: 2.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1454, allocations: 2.723 MB / 0.4989 GB, free: 48 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.223, allocations: 11.84 kB / 0.4989 GB, free: 36 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches