Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",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.00109/0.00109, allocations: 110.1 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.001294/0.001294, 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2323/0.2323, allocations: 43.53 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.001628/0.001629, allocations: 65.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1198, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003403/0.1233, allocations: 1.623 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1249, allocations: 0.9575 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.125, allocations: 7.875 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1253, allocations: 23.86 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1256, allocations: 47.77 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.126, allocations: 147.7 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1262, allocations: 67.77 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1263, allocations: 31.95 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.1264, allocations: 23.92 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1265, allocations: 27.86 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1266, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1267, allocations: 51.97 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1268, allocations: 19.92 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.1268, allocations: 31.73 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1271, allocations: 103.6 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1271, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1271, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1271, allocations: 4 kB / 0.4905 GB, free: 9.117 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.0005901/0.1277, allocations: 398.9 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1278, allocations: 11.89 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.1278, allocations: 38.75 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1279, allocations: 8.891 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1281, allocations: 199.8 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1281, allocations: 384 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1281, allocations: 8.375 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1284, allocations: 83.31 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1284, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1284, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1284, allocations: 0 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1286, allocations: 43.95 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.129, allocations: 308.7 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1292, allocations: 50.55 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.273e-05/0.1293, allocations: 24.94 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1293, allocations: 0 / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1293, allocations: 30.56 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 3.416e-06/0.1293, allocations: 4 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000818/0.1302, allocations: 233.3 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1302, allocations: 77.11 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1304, allocations: 148.2 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1304, allocations: 33.7 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.1305, allocations: 100.1 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1305, allocations: 19.73 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.1306, allocations: 25.7 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1307, allocations: 318.8 kB / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1308, allocations: 47.89 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.131, allocations: 53.69 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1312, allocations: 84.8 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1312, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002884/0.1315, allocations: 125.6 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1315, allocations: 8.031 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1315, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1316, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1317, allocations: 27.92 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1317, allocations: 3.938 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1318, allocations: 11.98 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1318, allocations: 4 kB / 0.4929 GB, free: 6.391 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 9.433e-05/0.1319, allocations: 121.8 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1319, allocations: 15.94 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.1323, allocations: 130.3 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1323, allocations: 0 / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.1323, allocations: 11.86 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1323, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1329, allocations: 406.9 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1329, allocations: 0 / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.133, allocations: 15.98 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.133, allocations: 7.938 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.133, allocations: 0 / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.133, allocations: 3.984 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.133, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1333, allocations: 223.5 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1334, allocations: 93.05 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1334, allocations: 3.938 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1335, allocations: 11.98 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1336, allocations: 11.92 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1336, allocations: 4 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.604e-05/0.1337, allocations: 110.1 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 0 / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.134, allocations: 31.92 kB / 0.4941 GB, free: 5.105 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.001554/0.1356, allocations: 1.098 MB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1359, allocations: 87.92 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1359, allocations: 0 / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.136, allocations: 59.89 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1364, allocations: 8 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1384, allocations: 1.585 MB / 0.4968 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1388, allocations: 0.7041 MB / 0.4975 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.705e-05/0.1389, allocations: 25.14 kB / 0.4975 GB, free: 1.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.139, allocations: 35.41 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.139, allocations: 0 / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1606, allocations: 3.116 MB / 0.5006 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.667, allocations: 0 / 0.5006 GB, free: 14.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_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_CombiTable2Dv_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches