Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.001332/0.001332, allocations: 106.4 kB / 16.41 MB, free: 6.473 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.001401/0.001402, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.339/1.339, 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.2062/0.2062, allocations: 43.52 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.002057/0.002057, allocations: 69.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.1005, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002843/0.1033, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1047, allocations: 0.9495 MB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.1048, allocations: 3.938 kB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.105, allocations: 23.86 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1052, allocations: 43.78 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1054, allocations: 91.8 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1056, allocations: 55.84 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.1057, allocations: 15.98 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.1057, allocations: 27.84 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1059, allocations: 27.86 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1059, allocations: 0 / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.106, allocations: 55.95 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.106, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.1061, allocations: 19.88 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1063, allocations: 95.64 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1063, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1063, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1063, allocations: 0 / 0.4903 GB, free: 9.301 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.0004697/0.1068, allocations: 391 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1068, allocations: 11.89 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1069, allocations: 30.75 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1069, allocations: 12.88 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1071, allocations: 184.3 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1071, allocations: 384 / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1072, allocations: 8.375 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1073, allocations: 67.33 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1073, allocations: 3.938 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1073, allocations: 0 / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1074, allocations: 0 / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.1074, allocations: 23.98 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.1079, allocations: 284.8 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1081, allocations: 50.5 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1081, allocations: 16.92 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1082, allocations: 4 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.1082, allocations: 34.56 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1082, allocations: 4 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005377/0.1087, allocations: 137.5 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1088, allocations: 81.09 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.109, allocations: 125.8 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.109, allocations: 33.7 kB / 0.4917 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.109, allocations: 88.12 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1091, allocations: 31.78 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1091, allocations: 21.64 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1093, allocations: 322.8 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.1094, allocations: 19.92 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.1094, allocations: 37.69 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1096, allocations: 61.05 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1096, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001884/0.1098, allocations: 85.56 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1098, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1098, allocations: 3.984 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1099, allocations: 4 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.1099, allocations: 8 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1099, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.11, allocations: 7.984 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.11, allocations: 7.938 kB / 0.4924 GB, free: 6.887 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.198e-05/0.1101, allocations: 117.8 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1101, allocations: 7.953 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1104, allocations: 101.5 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1104, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1104, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1104, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.1109, allocations: 354.5 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1109, allocations: 0 / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.111, allocations: 19.92 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.111, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.111, allocations: 4 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.111, allocations: 3.938 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.111, allocations: 192 / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1113, allocations: 183.5 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1113, allocations: 81.11 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1113, allocations: 0 / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1114, allocations: 11.94 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1115, allocations: 7.984 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1115, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.1115, allocations: 103.3 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1116, allocations: 4 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1118, allocations: 27.86 kB / 0.4934 GB, free: 5.77 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.001995/0.1138, allocations: 1.064 MB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.114, allocations: 47.97 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1141, allocations: 0 / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.1142, allocations: 27.92 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1146, allocations: 23.83 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1163, allocations: 1.405 MB / 0.4959 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1166, allocations: 0.6885 MB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1167, allocations: 11.98 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.1168, allocations: 31.36 kB / 0.4966 GB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1168, allocations: 0 / 0.4966 GB, free: 2.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1418, allocations: 2.76 MB / 0.4993 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.056, allocations: 12.03 kB / 0.4993 GB, free: 15.56 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches