Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",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.001228/0.001228, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001258/0.001258, allocations: 192.1 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.446/1.446, 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.2263/0.2263, 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.002091/0.002091, allocations: 63.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1277, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003046/0.1308, allocations: 1.55 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.1315, allocations: 327.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1316, allocations: 4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1318, allocations: 23.86 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.132, allocations: 39.77 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1323, allocations: 103.8 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1325, allocations: 55.78 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.1326, allocations: 11.98 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.1326, allocations: 23.86 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.1327, allocations: 19.91 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1327, allocations: 4 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.1328, allocations: 28 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1328, allocations: 11.92 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1329, allocations: 31.81 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1331, allocations: 79.59 kB / 0.4897 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1331, allocations: 4 kB / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1331, allocations: 0 / 0.4897 GB, free: 9.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1331, allocations: 0 / 0.4897 GB, free: 9.98 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.0005186/0.1336, allocations: 379 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1337, allocations: 11.89 kB / 0.49 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1337, allocations: 30.75 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1338, allocations: 8.891 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.134, allocations: 192.2 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.134, allocations: 4.375 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.134, allocations: 384 / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1342, allocations: 61.5 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1342, allocations: 0 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.1342, allocations: 0 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1342, allocations: 0 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1343, allocations: 27.97 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1347, allocations: 284.8 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.135, allocations: 50.59 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.135, allocations: 16.84 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.135, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1351, allocations: 30.56 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.1351, allocations: 4 kB / 0.4907 GB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005759/0.1357, allocations: 153.4 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1357, allocations: 51.41 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1359, allocations: 156.5 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.1359, allocations: 29.7 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.136, allocations: 88.14 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.136, allocations: 27.78 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1361, allocations: 17.72 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1363, allocations: 326.8 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.1364, allocations: 19.98 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.1364, allocations: 20.17 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1366, allocations: 52.83 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1366, allocations: 3.938 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.1368, allocations: 97.55 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1368, allocations: 4 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1368, allocations: 0 / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1369, allocations: 0 / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.1369, allocations: 12 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1369, allocations: 3.984 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.137, allocations: 7.938 kB / 0.4917 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.137, allocations: 0 / 0.4917 GB, free: 7.621 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.271e-05/0.1371, allocations: 121.8 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.1371, allocations: 11.94 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.1374, allocations: 97.91 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1374, allocations: 288 / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1374, allocations: 3.938 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1375, allocations: 3.938 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.1379, allocations: 354.5 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1379, allocations: 3.984 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.138, allocations: 16.17 kB / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.138, allocations: 0 / 0.4923 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.138, allocations: 7.938 kB / 0.4923 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.138, allocations: 0 / 0.4923 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1381, allocations: 0 / 0.4923 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1383, allocations: 187.5 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.1384, allocations: 85.06 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1384, allocations: 3.938 kB / 0.4926 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.1385, allocations: 4 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1385, allocations: 7.984 kB / 0.4926 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1385, allocations: 4 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1386, allocations: 118.1 kB / 0.4927 GB, free: 6.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1387, allocations: 3.938 kB / 0.4927 GB, free: 6.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1389, allocations: 20 kB / 0.4927 GB, free: 6.48 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.001928/0.1408, allocations: 1.009 MB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1411, allocations: 59.84 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1411, allocations: 0 / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.1412, allocations: 23.98 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1416, allocations: 19.92 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1433, allocations: 1.444 MB / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1437, allocations: 0.7002 MB / 0.4959 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.1438, allocations: 11.98 kB / 0.4959 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.1438, allocations: 23.44 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1438, allocations: 0 / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1702, allocations: 2.537 MB / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.91, allocations: 0 / 0.4984 GB, free: 0.5391 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_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_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches