Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001164/0.00117, allocations: 110.8 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.001197/0.001197, 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.465/1.465, allocations: 205.1 MB / 223.2 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.2028/0.2028, allocations: 43.52 MB / 314.1 MB, free: 468 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.00146/0.00146, allocations: 71.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.00294/0.1212, allocations: 1.542 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.1218, allocations: 331.4 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.1219, allocations: 4 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1221, allocations: 27.84 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1223, allocations: 39.78 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1226, allocations: 95.8 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1228, allocations: 55.84 kB / 0.4895 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.1229, allocations: 19.92 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.1229, allocations: 19.92 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.123, allocations: 19.91 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.123, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.1231, allocations: 23.98 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.1232, allocations: 15.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1232, allocations: 31.81 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1234, allocations: 87.58 kB / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1234, allocations: 0 / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1234, allocations: 3.938 kB / 0.4897 GB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1234, allocations: 0 / 0.4897 GB, free: 9.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005124/0.1239, allocations: 379 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.124, allocations: 15.89 kB / 0.49 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.124, allocations: 34.73 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1241, allocations: 8.891 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1243, allocations: 192.2 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1243, allocations: 8.359 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1243, allocations: 384 / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1245, allocations: 57.56 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1245, allocations: 0 / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1245, allocations: 0 / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1245, allocations: 0 / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.906e-05/0.1246, allocations: 19.98 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.125, allocations: 288.8 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1252, allocations: 50.5 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.1252, allocations: 16.94 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1252, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1253, allocations: 30.56 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1253, allocations: 4 kB / 0.4907 GB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000551/0.1258, allocations: 153.4 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1259, allocations: 51.41 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.126, allocations: 169.8 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1261, allocations: 29.7 kB / 0.4911 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1262, allocations: 96.08 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.1262, allocations: 23.78 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1262, allocations: 17.72 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1264, allocations: 326.8 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.1264, allocations: 19.98 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1265, allocations: 24.05 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1266, allocations: 52.77 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1266, allocations: 4 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.1268, allocations: 89.61 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1269, allocations: 4 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1269, allocations: 0 / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1269, allocations: 0 / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.127, allocations: 15.98 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.127, allocations: 0 / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.127, allocations: 4 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.127, allocations: 3.938 kB / 0.4918 GB, free: 7.605 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 (5): * Single equations (assignments): 5 * 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 8.312e-05/0.1271, allocations: 129.8 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1271, allocations: 7.953 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.1274, allocations: 105.9 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1274, allocations: 0 / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1274, allocations: 0 / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1274, allocations: 0 / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.1278, allocations: 358.4 kB / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1278, allocations: 320 / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1279, allocations: 19.98 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1279, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1279, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1279, allocations: 3.938 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1279, allocations: 0 / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1282, allocations: 183.8 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1282, allocations: 85.06 kB / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1282, allocations: 0 / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1283, allocations: 15.92 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1284, allocations: 3.984 kB / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1284, allocations: 4 kB / 0.4926 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.1285, allocations: 130.6 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1285, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1287, allocations: 27.86 kB / 0.4928 GB, free: 6.445 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 (5): * Single equations (assignments): 5 * 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.001249/0.13, allocations: 1.014 MB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1302, allocations: 59.89 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1302, allocations: 0 / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.1303, allocations: 23.98 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1306, allocations: 23.52 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1322, allocations: 1.476 MB / 0.4953 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1325, allocations: 0.6963 MB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.1326, allocations: 11.98 kB / 0.496 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.1327, allocations: 31.36 kB / 0.496 GB, free: 3.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1327, allocations: 3.938 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.1518, allocations: 2.571 MB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.496, allocations: 7.891 kB / 0.4986 GB, free: 424 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches