Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001036/0.001036, allocations: 101 kB / 16.26 MB, free: 5.98 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.001055/0.001055, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.33/1.33, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2075/0.2075, allocations: 43.53 MB / 314 MB, free: 0.5234 MB / 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.001636/0.001636, allocations: 65.66 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09774, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003396/0.1012, allocations: 1.609 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005757/0.1018, allocations: 339.5 kB / 442.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.1019, allocations: 4 kB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1022, allocations: 51.81 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1024, allocations: 55.75 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.1028, allocations: 158.9 kB / 442.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.103, allocations: 71.83 kB / 442.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1031, allocations: 27.97 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.1032, allocations: 27.86 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.1033, allocations: 43.83 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1033, allocations: 4 kB / 443 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1034, allocations: 35.98 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.1035, allocations: 23.92 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.1035, allocations: 31.73 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1037, allocations: 95.7 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1037, allocations: 4 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1037, allocations: 0 / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1037, allocations: 0 / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004438/0.1042, allocations: 410.9 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1042, allocations: 15.89 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.1043, allocations: 38.67 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1043, allocations: 8.844 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1045, allocations: 197.2 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1045, allocations: 4.375 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1045, allocations: 8.375 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1047, allocations: 65.59 kB / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1047, allocations: 0 / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1047, allocations: 0 / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1047, allocations: 4 kB / 443.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1049, allocations: 35.91 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1052, allocations: 320.7 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1053, allocations: 46.56 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.1054, allocations: 28.92 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1054, allocations: 3.938 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1055, allocations: 34.56 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.1055, allocations: 3.938 kB / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007303/0.1062, allocations: 233.3 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1063, allocations: 55.34 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1064, allocations: 202.1 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.1064, allocations: 25.7 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.1065, allocations: 104.2 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1065, allocations: 27.62 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1065, allocations: 21.72 kB / 445 MB, free: 2.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.1066, allocations: 322.8 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1067, allocations: 31.97 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.1068, allocations: 48.02 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.107, allocations: 88.8 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.107, allocations: 0 / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002838/0.1073, allocations: 125.5 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1074, allocations: 7.938 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1074, allocations: 0 / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1074, allocations: 0 / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1075, allocations: 23.97 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1075, allocations: 0 / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1076, allocations: 15.94 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1076, allocations: 3.984 kB / 445.7 MB, free: 1.484 MB / 318.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 (7): * Single equations (assignments): 7 * 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 7.353e-05/0.1077, allocations: 129.8 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1077, allocations: 7.906 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.108, allocations: 142.2 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1081, allocations: 0 / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1081, allocations: 4 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1081, allocations: 7.922 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1085, allocations: 410.5 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1086, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.1086, allocations: 19.98 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1087, allocations: 3.938 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1087, allocations: 3.938 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1087, allocations: 4 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1087, allocations: 3.938 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.109, allocations: 223.7 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.109, allocations: 93 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.109, allocations: 3.938 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.1091, allocations: 11.98 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1092, allocations: 4 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1092, allocations: 8 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.1093, allocations: 151.2 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1093, allocations: 0 / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1096, allocations: 19.94 kB / 446.9 MB, free: 152 kB / 318.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 (7): * Single equations (assignments): 7 * 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.001407/0.111, allocations: 1.056 MB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1113, allocations: 95.86 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1113, allocations: 0 / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1115, allocations: 47.97 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1118, allocations: 26.02 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.1143, allocations: 1.71 MB / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1147, allocations: 0.7094 MB / 450.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.439e-05/0.1148, allocations: 24.95 kB / 450.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1149, allocations: 27.44 kB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1149, allocations: 0 / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1366, allocations: 2.961 MB / 453.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/7.862, allocations: 11.2 kB / 453.6 MB, free: 9.422 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_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_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches