Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001743/0.001743, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.00193/0.00193, 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.578/1.578, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2498/0.2498, allocations: 43.53 MB / 314.1 MB, free: 456 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.002092/0.002092, allocations: 69.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00336/0.1408, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.1415, allocations: 323.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.1416, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1418, allocations: 23.86 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.142, allocations: 39.78 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1423, allocations: 71.84 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1424, allocations: 59.77 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1426, allocations: 15.98 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.1426, allocations: 23.86 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.1427, allocations: 11.92 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1427, allocations: 4 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.1428, allocations: 39.97 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1428, allocations: 11.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.1429, allocations: 15.88 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1431, allocations: 83.55 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1431, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1431, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1431, allocations: 0 / 0.4896 GB, free: 10.01 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.0005347/0.1436, allocations: 371.1 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1437, allocations: 11.89 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1437, allocations: 30.75 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1438, allocations: 8.891 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.144, allocations: 199.8 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.144, allocations: 4.375 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1441, allocations: 4.375 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1442, allocations: 53.56 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1442, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1443, allocations: 4 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1443, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1444, allocations: 23.97 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.1448, allocations: 268.9 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.145, allocations: 50.48 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.145, allocations: 16.94 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1451, allocations: 0 / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1451, allocations: 34.56 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.1451, allocations: 0 / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005438/0.1457, allocations: 141.4 kB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1457, allocations: 51.41 kB / 0.4908 GB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1459, allocations: 142.1 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1459, allocations: 25.7 kB / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.146, allocations: 96.06 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.146, allocations: 19.86 kB / 0.4911 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1461, allocations: 21.7 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1462, allocations: 322.8 kB / 0.4914 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.1463, allocations: 15.98 kB / 0.4914 GB, free: 7.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.1464, allocations: 19.98 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1465, allocations: 44.83 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1465, allocations: 0 / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.1467, allocations: 89.75 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1467, allocations: 8 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1468, allocations: 0 / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1468, allocations: 0 / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.1468, allocations: 15.98 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1469, allocations: 0 / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1469, allocations: 7.984 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1469, allocations: 3.938 kB / 0.4916 GB, free: 7.711 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.0001079/0.147, allocations: 129.7 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1471, allocations: 3.953 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1473, allocations: 89.91 kB / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1473, allocations: 0 / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1473, allocations: 0 / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1473, allocations: 4 kB / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.1478, allocations: 346.5 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1478, allocations: 0 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.1479, allocations: 19.92 kB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1479, allocations: 0 / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1479, allocations: 0 / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1479, allocations: 3.938 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1479, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1482, allocations: 179.5 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.1482, allocations: 81.25 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1482, allocations: 8 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1483, allocations: 3.938 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1484, allocations: 7.984 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1484, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.1485, allocations: 115.2 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 0 / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1487, allocations: 15.98 kB / 0.4926 GB, free: 6.613 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.001973/0.1507, allocations: 1.002 MB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1509, allocations: 47.97 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.151, allocations: 7.938 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.151, allocations: 23.98 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1514, allocations: 19.92 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1532, allocations: 1.401 MB / 0.495 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1535, allocations: 0.6924 MB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.1536, allocations: 8 kB / 0.4957 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.1536, allocations: 23.38 kB / 0.4957 GB, free: 3.301 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1536, allocations: 3.938 kB / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.1785, allocations: 2.445 MB / 0.4981 GB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/7.883, allocations: 15.89 kB / 0.4981 GB, free: 0.8164 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_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_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches