Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27",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.001106/0.001106, allocations: 109.5 kB / 16.41 MB, free: 6.504 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.001157/0.001157, allocations: 191.4 kB / 17.34 MB, free: 5.738 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.399/1.399, 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.2193/0.2193, allocations: 43.53 MB / 314.1 MB, free: 448 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.001481/0.001481, allocations: 65.84 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1369, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003206/0.1402, allocations: 1.542 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.1408, allocations: 323.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.1409, allocations: 7.938 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.1413, allocations: 123.8 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1415, allocations: 83.7 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1418, allocations: 75.83 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1419, allocations: 83.75 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1421, allocations: 11.98 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.1421, allocations: 43.88 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1423, allocations: 83.78 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1423, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.1424, allocations: 32 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1424, allocations: 27.91 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1425, allocations: 35.67 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1427, allocations: 99.52 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1427, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1427, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1427, allocations: 0 / 0.4899 GB, free: 9.711 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.0004735/0.1432, allocations: 430.6 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1432, allocations: 15.89 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.1433, allocations: 38.73 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1433, allocations: 12.84 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1435, allocations: 196 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1435, allocations: 12.36 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1435, allocations: 8.297 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1437, allocations: 49.62 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1437, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1437, allocations: 4 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1437, allocations: 0 / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.1438, allocations: 19.98 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.1442, allocations: 292.9 kB / 0.4909 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1444, allocations: 46.5 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1444, allocations: 20.94 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1445, allocations: 0 / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1445, allocations: 30.56 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1445, allocations: 0 / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005333/0.145, allocations: 157.3 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1451, allocations: 51.41 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.1453, allocations: 270.2 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1453, allocations: 33.64 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1454, allocations: 108.1 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1454, allocations: 11.91 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1455, allocations: 17.72 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1456, allocations: 334.8 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.1457, allocations: 15.98 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.1457, allocations: 24.05 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1459, allocations: 48.78 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1459, allocations: 0 / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001762/0.1461, allocations: 85.56 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1461, allocations: 8 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1461, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1461, allocations: 3.938 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.1462, allocations: 12 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1462, allocations: 0 / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.1462, allocations: 7.984 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1463, allocations: 7.938 kB / 0.4922 GB, free: 7.148 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 0.0001048/0.1464, allocations: 137.7 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1464, allocations: 15.91 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1466, allocations: 98.64 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1467, allocations: 4 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1467, allocations: 0 / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1467, allocations: 0 / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.1471, allocations: 358.4 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1471, allocations: 4.297 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.1472, allocations: 16 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1472, allocations: 0 / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1472, allocations: 0 / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1472, allocations: 7.938 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1472, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1474, allocations: 183.4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1475, allocations: 89.02 kB / 0.493 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1475, allocations: 4 kB / 0.493 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1476, allocations: 7.922 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1476, allocations: 12.22 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1476, allocations: 0 / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1478, allocations: 199.2 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1478, allocations: 4 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.148, allocations: 19.92 kB / 0.4933 GB, free: 5.902 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.001238/0.1493, allocations: 1.018 MB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1495, allocations: 47.91 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1495, allocations: 0 / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1496, allocations: 23.98 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.15, allocations: 19.92 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.1517, allocations: 1.7 MB / 0.496 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.152, allocations: 0.708 MB / 0.4967 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1521, allocations: 4 kB / 0.4967 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.1521, allocations: 43.36 kB / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1521, allocations: 0 / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1738, allocations: 3.017 MB / 0.4997 GB, free: 15.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.763, allocations: 4.266 kB / 0.4997 GB, free: 15.21 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches