Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001592/0.001592, allocations: 107.7 kB / 16.41 MB, free: 6.406 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.001593/0.001593, allocations: 189.5 kB / 17.34 MB, free: 5.695 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.518/1.518, allocations: 205.1 MB / 223.2 MB, free: 12.18 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.2063/0.2063, allocations: 43.53 MB / 314.1 MB, free: 440 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.001401/0.001401, allocations: 77.45 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1013, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002828/0.1042, allocations: 1.577 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.1049, allocations: 323.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.1049, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1053, allocations: 87.73 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1055, allocations: 75.8 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1057, allocations: 75.78 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1059, allocations: 87.73 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.106, allocations: 20.16 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.1061, allocations: 27.92 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1062, allocations: 59.81 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1062, allocations: 7.938 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.1063, allocations: 31.98 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1064, allocations: 23.91 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1064, allocations: 31.75 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1066, allocations: 111.5 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1066, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1067, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1067, allocations: 0 / 0.4899 GB, free: 9.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004903/0.1072, allocations: 410.8 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1072, allocations: 23.83 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1073, allocations: 34.73 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1073, allocations: 12.84 kB / 0.4903 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1075, allocations: 196.2 kB / 0.4905 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1075, allocations: 8.375 kB / 0.4905 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1075, allocations: 4.125 kB / 0.4905 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1077, allocations: 61.66 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1077, allocations: 0 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1077, allocations: 3.938 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1077, allocations: 8 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1078, allocations: 31.92 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1082, allocations: 304.8 kB / 0.4909 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1084, allocations: 46.56 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1084, allocations: 20.97 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1085, allocations: 7.984 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1085, allocations: 38.5 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1085, allocations: 0 / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006377/0.1091, allocations: 189.6 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1092, allocations: 51.41 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1094, allocations: 239.5 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1094, allocations: 29.7 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.1095, allocations: 104.1 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1095, allocations: 27.75 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1096, allocations: 25.7 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1097, allocations: 326.8 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.1098, allocations: 19.98 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.1098, allocations: 23.98 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.11, allocations: 68.89 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.11, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.1102, allocations: 101.5 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1102, allocations: 8 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1102, allocations: 0 / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1103, allocations: 3.984 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1104, allocations: 16 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1104, allocations: 8.25 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.1104, allocations: 7.984 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1105, allocations: 4 kB / 0.4922 GB, free: 7.074 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 (8): * Single equations (assignments): 8 * 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.559e-05/0.1106, allocations: 133.8 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1106, allocations: 11.91 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.1109, allocations: 127 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1109, allocations: 0 / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1109, allocations: 7.938 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1109, allocations: 0 / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.1114, allocations: 398.4 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1114, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.1114, allocations: 12 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1115, allocations: 11.92 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1115, allocations: 0 / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1115, allocations: 0 / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1115, allocations: 4 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1117, allocations: 199.4 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.1118, allocations: 89 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1118, allocations: 0 / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1119, allocations: 4 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1119, allocations: 11.92 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1119, allocations: 8 kB / 0.4932 GB, free: 5.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1121, allocations: 167.2 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1121, allocations: 0 / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1123, allocations: 23.92 kB / 0.4934 GB, free: 5.777 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 (8): * Single equations (assignments): 8 * 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.001257/0.1136, allocations: 1.033 MB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1138, allocations: 63.91 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1138, allocations: 0 / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.1139, allocations: 35.98 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1143, allocations: 15.92 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.116, allocations: 1.691 MB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1163, allocations: 0.7041 MB / 0.4968 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1163, allocations: 12.66 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.1164, allocations: 35.42 kB / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1164, allocations: 0 / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1367, allocations: 2.994 MB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.851, allocations: 16.25 kB / 0.4998 GB, free: 15.07 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches