Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001279/0.001279, allocations: 109.2 kB / 16.41 MB, free: 6.488 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.001304/0.001304, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2138/0.2138, 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.002069/0.002069, allocations: 72.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1104, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00348/0.1139, allocations: 2.032 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1157, allocations: 1.073 MB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.1158, allocations: 4 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.116, allocations: 59.52 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1164, allocations: 155.3 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1176, allocations: 0.5575 MB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.118, allocations: 307.1 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1182, allocations: 76.55 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.1183, allocations: 135.4 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1186, allocations: 191.3 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1187, allocations: 12 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1188, allocations: 47.97 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.119, allocations: 139.6 kB / 0.4921 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1191, allocations: 182.6 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.1196, allocations: 409.9 kB / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1197, allocations: 3.984 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1197, allocations: 0 / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1197, allocations: 3.938 kB / 0.4926 GB, free: 6.902 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001174/0.1209, allocations: 0.8123 MB / 0.4934 GB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1209, allocations: 11.89 kB / 0.4934 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.121, allocations: 42.73 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.1211, allocations: 64.52 kB / 0.4935 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.1216, allocations: 472.3 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1217, allocations: 8.359 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1217, allocations: 15.94 kB / 0.494 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.1221, allocations: 155.3 kB / 0.4942 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1221, allocations: 7.953 kB / 0.4942 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1221, allocations: 7.938 kB / 0.4942 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1221, allocations: 11.94 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.1225, allocations: 115.9 kB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1235, allocations: 0.7152 MB / 0.495 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1238, allocations: 133.2 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.124, allocations: 65.8 kB / 0.4952 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.124, allocations: 8 kB / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1241, allocations: 42.48 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1241, allocations: 0 / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002117/0.1262, allocations: 0.7491 MB / 0.496 GB, free: 3.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.1263, allocations: 81.11 kB / 0.496 GB, free: 3.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1273, allocations: 0.8868 MB / 0.4969 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1274, allocations: 33.7 kB / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1276, allocations: 260.3 kB / 0.4972 GB, free: 1.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1277, allocations: 67.44 kB / 0.4973 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.1278, allocations: 45.64 kB / 0.4973 GB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.128, allocations: 378.7 kB / 0.4977 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.1283, allocations: 107.9 kB / 0.4978 GB, free: 1.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1286, allocations: 133.3 kB / 0.4979 GB, free: 1.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.1293, allocations: 249.5 kB / 0.4981 GB, free: 1.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1293, allocations: 3.938 kB / 0.4981 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008069/0.1301, allocations: 345.1 kB / 0.4985 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1301, allocations: 8 kB / 0.4985 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1302, allocations: 3.984 kB / 0.4985 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1302, allocations: 0 / 0.4985 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.1305, allocations: 59.95 kB / 0.4985 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1305, allocations: 7.922 kB / 0.4985 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1307, allocations: 19.97 kB / 0.4986 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.1307, allocations: 12 kB / 0.4986 GB, free: 0.5469 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000249/0.131, allocations: 217.6 kB / 0.4988 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1311, allocations: 63.62 kB / 0.4988 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.1321, allocations: 402.8 kB / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1321, allocations: 4 kB / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1321, allocations: 0 / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1321, allocations: 0 / 0.4992 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1336, allocations: 0.9546 MB / 0.5002 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1336, allocations: 4 kB / 0.5002 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.1339, allocations: 51.89 kB / 0.5002 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1339, allocations: 0 / 0.5002 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1339, allocations: 12 kB / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1339, allocations: 4.031 kB / 0.5002 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.134, allocations: 11.92 kB / 0.5002 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008628/0.1348, allocations: 0.506 MB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.135, allocations: 148.7 kB / 0.5009 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.135, allocations: 8 kB / 0.5009 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.1353, allocations: 23.91 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1354, allocations: 19.97 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1354, allocations: 4 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008096/0.1362, allocations: 0.6552 MB / 0.5016 GB, free: 13.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1362, allocations: 4 kB / 0.5016 GB, free: 13.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1366, allocations: 59.94 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002615/0.1392, allocations: 1.353 MB / 0.5029 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007261/0.14, allocations: 271.6 kB / 0.5032 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.14, allocations: 0 / 0.5032 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1403, allocations: 143.8 kB / 0.5033 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.141, allocations: 66.97 kB / 0.5034 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007664/0.1487, allocations: 5.371 MB / 0.5087 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.1492, allocations: 0.8731 MB / 0.5095 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000264/0.1495, allocations: 107.2 kB / 0.5096 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.1498, allocations: 183.3 kB / 0.5098 GB, free: 4.852 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1498, allocations: 0 / 0.5098 GB, free: 4.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.1852, allocations: 10.32 MB / 0.5199 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/8.811, allocations: 3.859 kB / 0.5199 GB, free: 10.48 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches