Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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.001205/0.001205, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.00121/0.00121, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2305/0.2305, 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.001613/0.001614, allocations: 63.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.111, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003305/0.1143, allocations: 1.616 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1159, allocations: 0.9301 MB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.116, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1162, allocations: 31.84 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1165, allocations: 47.77 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1168, allocations: 111.7 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.117, allocations: 55.84 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.9e-05/0.1171, allocations: 20.16 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.1171, allocations: 27.86 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1173, allocations: 23.86 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1173, allocations: 4 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1174, allocations: 59.97 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1175, allocations: 15.92 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.1175, allocations: 27.8 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1178, allocations: 103.6 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1178, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1178, allocations: 3.938 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1178, allocations: 0 / 0.4904 GB, free: 9.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006066/0.1184, allocations: 391 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1185, allocations: 15.88 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1185, allocations: 34.75 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1185, allocations: 8.891 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1187, allocations: 200.2 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1188, allocations: 4.375 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1188, allocations: 8.062 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.119, allocations: 79.31 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.119, allocations: 0 / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.119, allocations: 4 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.119, allocations: 0 / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1192, allocations: 35.97 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.1195, allocations: 284.8 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1196, allocations: 42.5 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.1197, allocations: 28.94 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1198, allocations: 3.984 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1198, allocations: 34.56 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1198, allocations: 0 / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008233/0.1206, allocations: 209.3 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1207, allocations: 81.05 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1208, allocations: 148.3 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1209, allocations: 29.7 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1209, allocations: 88.14 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1209, allocations: 27.73 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.121, allocations: 21.72 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1211, allocations: 322.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1212, allocations: 35.97 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1214, allocations: 41.69 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.1216, allocations: 80.78 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1216, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002595/0.1219, allocations: 105.6 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1219, allocations: 4 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1219, allocations: 0 / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1219, allocations: 0 / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.122, allocations: 19.98 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.122, allocations: 7.938 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1221, allocations: 15.98 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1221, allocations: 0 / 0.4927 GB, free: 6.578 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 (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 0.0001739/0.1223, allocations: 121.7 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.1224, allocations: 7.953 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.1227, allocations: 130.6 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1227, allocations: 4 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1227, allocations: 11.86 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1227, allocations: 0 / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1232, allocations: 390.5 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1232, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.1233, allocations: 19.98 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1233, allocations: 7.938 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1234, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1234, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1234, allocations: 0 / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.1237, allocations: 211.4 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1237, allocations: 89.06 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1238, allocations: 7.938 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.1239, allocations: 7.984 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1239, allocations: 11.98 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1239, allocations: 4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.124, allocations: 103.3 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.124, allocations: 0 / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1243, allocations: 27.92 kB / 0.4938 GB, free: 5.336 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 (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.001482/0.1258, allocations: 1.085 MB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1261, allocations: 83.88 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1261, allocations: 0 / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1262, allocations: 35.97 kB / 0.495 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1267, allocations: 27.83 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1285, allocations: 1.527 MB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1288, allocations: 0.6924 MB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.1289, allocations: 20.64 kB / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.129, allocations: 23.42 kB / 0.4972 GB, free: 1.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.129, allocations: 4 kB / 0.4972 GB, free: 1.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.1506, allocations: 3.04 MB / 0.5002 GB, free: 14.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.107, allocations: 7.969 kB / 0.5002 GB, free: 14.64 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches