Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.001055/0.001055, allocations: 103.2 kB / 16.27 MB, free: 6.102 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.001034/0.001034, allocations: 181 kB / 17.19 MB, free: 5.727 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.377/1.377, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2761/0.2761, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001474/0.001474, allocations: 70.91 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002864/0.1259, allocations: 1.607 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.1266, allocations: 0.6919 MB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.1266, allocations: 0 / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1269, allocations: 23.86 kB / 442.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.127, allocations: 47.81 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.729e-06/0.1271, allocations: 3.938 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1272, allocations: 27.92 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1273, allocations: 7.922 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.1273, allocations: 11.92 kB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.1273, allocations: 11.94 kB / 443.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1274, allocations: 8 kB / 443.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.1274, allocations: 11.98 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1275, allocations: 15.92 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1275, allocations: 23.81 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1276, allocations: 63.8 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1276, allocations: 0 / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1276, allocations: 0 / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1276, allocations: 3.938 kB / 443.2 MB, free: 4.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003213/0.128, allocations: 355.4 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.128, allocations: 15.89 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.128, allocations: 42.73 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1281, allocations: 4.844 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1282, allocations: 172.2 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.1282, allocations: 4.359 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1282, allocations: 4.375 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1284, allocations: 132.5 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1284, allocations: 3.938 kB / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1284, allocations: 0 / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.1284, allocations: 27.92 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.1285, allocations: 43.91 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1289, allocations: 0.8945 MB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.1289, allocations: 169.1 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.129, allocations: 84.08 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.129, allocations: 83.22 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.129, allocations: 109.8 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.129, allocations: 0 / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.555e-05/0.1291, allocations: 37.64 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1291, allocations: 126.7 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1293, allocations: 190.9 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.1293, allocations: 25.7 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1293, allocations: 151.1 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.1294, allocations: 0 / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.1294, allocations: 45.61 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.1295, allocations: 322.8 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.1295, allocations: 27.98 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.1296, allocations: 164.1 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1297, allocations: 208.8 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1298, allocations: 0 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002352/0.13, allocations: 197.4 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.13, allocations: 11.98 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.13, allocations: 4 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.13, allocations: 8 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1302, allocations: 35.92 kB / 446.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1302, allocations: 4 kB / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.1303, allocations: 23.88 kB / 446.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1303, allocations: 8 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001199/0.1304, allocations: 229.2 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1305, allocations: 116.8 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1305, allocations: 116.8 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-05/0.1306, allocations: 180.3 kB / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.1307, allocations: 184.3 kB / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-05/0.1307, allocations: 184.2 kB / 447.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.131, allocations: 429.1 kB / 448.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/0.131, allocations: 105 kB / 448.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.1311, allocations: 104.9 kB / 448.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/0.1311, allocations: 176.3 kB / 448.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.1312, allocations: 180.2 kB / 448.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-05/0.1313, allocations: 188.2 kB / 449 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.836e-05/0.1314, allocations: 184.2 kB / 449.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1315, allocations: 315.5 kB / 449.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.1316, allocations: 186 kB / 449.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.1317, allocations: 192.2 kB / 449.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1318, allocations: 109 kB / 450 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.1319, allocations: 180.2 kB / 450.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.1319, allocations: 105 kB / 450.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.132, allocations: 123.2 kB / 450.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.132, allocations: 4 kB / 450.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1323, allocations: 12 kB / 450.4 MB, free: 12.43 MB / 334.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 (0): * Single equations (assignments): 0 * 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.0007825/0.1331, allocations: 0.9226 MB / 451.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1332, allocations: 76.66 kB / 451.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1333, allocations: 0 / 451.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.1333, allocations: 0 / 451.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1336, allocations: 463.6 kB / 451.8 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1353, allocations: 1.872 MB / 453.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1356, allocations: 0.6967 MB / 454.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.1358, allocations: 49.03 kB / 454.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.1359, allocations: 27.42 kB / 454.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1359, allocations: 0 / 454.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.157, allocations: 2.013 MB / 456.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.604, allocations: 23.64 kB / 456.5 MB, free: 6.078 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_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_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches