Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001284/0.001284, allocations: 109.9 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.001345/0.001345, 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.48/1.48, 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.2091/0.2091, allocations: 43.52 MB / 314.1 MB, free: 460 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.001336/0.001336, allocations: 79.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1317, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003115/0.1349, allocations: 1.55 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.1355, allocations: 323.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.1356, allocations: 4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1359, allocations: 63.78 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1361, allocations: 63.8 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1364, allocations: 71.78 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1365, allocations: 67.88 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1366, allocations: 15.98 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.1367, allocations: 31.84 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1368, allocations: 43.89 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1368, allocations: 4 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1369, allocations: 23.94 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.137, allocations: 23.91 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.137, allocations: 27.75 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1372, allocations: 87.66 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1372, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1372, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1372, allocations: 0 / 0.4897 GB, free: 9.887 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.0005148/0.1378, allocations: 394.9 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1378, allocations: 11.89 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.1379, allocations: 34.75 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1379, allocations: 12.83 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1381, allocations: 200.2 kB / 0.4904 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1381, allocations: 4.375 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1382, allocations: 4.375 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1383, allocations: 45.62 kB / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1383, allocations: 0 / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1383, allocations: 0 / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1383, allocations: 4 kB / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.1384, allocations: 23.97 kB / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1388, allocations: 288.8 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.139, allocations: 38.56 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.1391, allocations: 16.86 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1391, allocations: 96 / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1391, allocations: 34.55 kB / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1391, allocations: 0 / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005391/0.1397, allocations: 145.4 kB / 0.4909 GB, free: 8.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1397, allocations: 51.41 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.14, allocations: 194.1 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.14, allocations: 25.7 kB / 0.4912 GB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.1401, allocations: 104.1 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1402, allocations: 15.89 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.1402, allocations: 25.59 kB / 0.4913 GB, free: 8.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1404, allocations: 326.8 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.1405, allocations: 19.98 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.1405, allocations: 20.05 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1406, allocations: 44.78 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1407, allocations: 0 / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.1409, allocations: 89.61 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1409, allocations: 4 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1409, allocations: 0 / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1409, allocations: 0 / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.141, allocations: 15.94 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.141, allocations: 0 / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.141, allocations: 7.984 kB / 0.4918 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1411, allocations: 3.938 kB / 0.4919 GB, free: 7.492 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 9.703e-05/0.1412, allocations: 129.8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1412, allocations: 11.91 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.1414, allocations: 89.97 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1414, allocations: 4 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1415, allocations: 0 / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1415, allocations: 0 / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.1419, allocations: 354.4 kB / 0.4924 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1419, allocations: 4.312 kB / 0.4924 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.142, allocations: 15.98 kB / 0.4924 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.142, allocations: 0 / 0.4924 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.142, allocations: 0 / 0.4924 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.142, allocations: 3.938 kB / 0.4924 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.142, allocations: 4 kB / 0.4924 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1422, allocations: 183.4 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.1423, allocations: 81.06 kB / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1423, allocations: 0 / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1424, allocations: 11.92 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1424, allocations: 4 kB / 0.4927 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1424, allocations: 4 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1426, allocations: 151.9 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1426, allocations: 0 / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1428, allocations: 15.89 kB / 0.4929 GB, free: 6.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 (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.001377/0.1442, allocations: 1.012 MB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1444, allocations: 43.97 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1444, allocations: 4 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1445, allocations: 23.97 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1449, allocations: 19.22 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1466, allocations: 1.529 MB / 0.4954 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.147, allocations: 0.7002 MB / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.147, allocations: 8 kB / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.1471, allocations: 27.42 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1471, allocations: 0 / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1672, allocations: 2.675 MB / 0.4988 GB, free: 192 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.631, allocations: 19.81 kB / 0.4988 GB, free: 172 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_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_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches