Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001263/0.001263, allocations: 110.2 kB / 16.41 MB, free: 6.445 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.001144/0.001145, allocations: 185.5 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2155/0.2155, allocations: 43.52 MB / 314.1 MB, free: 476 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.001448/0.001448, allocations: 67.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003642/0.1427, allocations: 1.558 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.1434, allocations: 323.4 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.1434, allocations: 0 / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1437, allocations: 23.86 kB / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1439, allocations: 43.77 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1442, allocations: 67.84 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1444, allocations: 55.84 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1445, allocations: 19.97 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.1446, allocations: 23.86 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1446, allocations: 15.92 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1447, allocations: 4 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1447, allocations: 28 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.1448, allocations: 19.91 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.1448, allocations: 23.81 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.145, allocations: 83.66 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1451, allocations: 3.938 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1451, allocations: 0 / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1451, allocations: 3.938 kB / 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.0005399/0.1456, allocations: 375 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1457, allocations: 19.88 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1457, allocations: 30.75 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1458, allocations: 8.891 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.146, allocations: 195.6 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.146, allocations: 4.375 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1461, allocations: 4.375 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1462, allocations: 53.61 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1463, allocations: 7.938 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1463, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1463, allocations: 0 / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.1464, allocations: 19.98 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1468, allocations: 280.9 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.147, allocations: 42.5 kB / 0.4906 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.1471, allocations: 20.94 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1471, allocations: 0 / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1472, allocations: 30.56 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1472, allocations: 0 / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005664/0.1477, allocations: 141.4 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1478, allocations: 51.41 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.148, allocations: 169.8 kB / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.148, allocations: 25.7 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.1481, allocations: 96.12 kB / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1481, allocations: 19.86 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1482, allocations: 25.59 kB / 0.4912 GB, free: 8.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1483, allocations: 322.8 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.1484, allocations: 19.98 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.1485, allocations: 19.98 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1486, allocations: 40.83 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1486, allocations: 4 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.1488, allocations: 85.81 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1488, allocations: 8 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1488, allocations: 4 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1488, allocations: 0 / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.1489, allocations: 11.98 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1489, allocations: 0 / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.1489, allocations: 4 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.149, allocations: 3.938 kB / 0.4917 GB, free: 7.68 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.878e-05/0.1491, allocations: 129.8 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1491, allocations: 7.953 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1494, allocations: 93.91 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1494, allocations: 288 / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1494, allocations: 0 / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1494, allocations: 0 / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.1498, allocations: 342.5 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1498, allocations: 7.984 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1498, allocations: 15.92 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1499, allocations: 0 / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1499, allocations: 0 / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1499, allocations: 3.938 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1499, allocations: 4 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1501, allocations: 183.5 kB / 0.4924 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1502, allocations: 81.06 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1502, allocations: 4.188 kB / 0.4925 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1503, allocations: 11.94 kB / 0.4925 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1503, allocations: 7.984 kB / 0.4925 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1503, allocations: 0 / 0.4925 GB, free: 6.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1504, allocations: 130.7 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1507, allocations: 15.94 kB / 0.4927 GB, free: 6.555 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.001319/0.152, allocations: 1.01 MB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1522, allocations: 47.97 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1522, allocations: 4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.1523, allocations: 27.92 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1527, allocations: 27.14 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1542, allocations: 1.445 MB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1545, allocations: 0.6963 MB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.1545, allocations: 16.06 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.1546, allocations: 27.42 kB / 0.4959 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.1546, allocations: 3.938 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.1741, allocations: 2.559 MB / 0.4984 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.704, allocations: 8.062 kB / 0.4984 GB, free: 0.5703 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_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_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches