Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.00128/0.00128, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001717/0.001717, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.458/1.458, allocations: 205.1 MB / 223.1 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.2283/0.2283, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.002308/0.002309, allocations: 68.34 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1443, allocations: 57.8 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003712/0.148, allocations: 1.551 MB / 442.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1496, allocations: 0.9339 MB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.1497, allocations: 0 / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.15, allocations: 31.84 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1503, allocations: 39.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1506, allocations: 67.84 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1508, allocations: 55.84 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1509, allocations: 12 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.151, allocations: 27.84 kB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1512, allocations: 23.92 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1512, allocations: 0 / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1513, allocations: 55.97 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.1514, allocations: 15.86 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.1515, allocations: 15.88 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1517, allocations: 91.77 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1517, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1517, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1517, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.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.0005275/0.1523, allocations: 379.2 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1523, allocations: 15.89 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1524, allocations: 30.75 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.1524, allocations: 8.844 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1527, allocations: 188.2 kB / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1527, allocations: 8.375 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1527, allocations: 4.312 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1529, allocations: 63.34 kB / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1529, allocations: 0 / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.153, allocations: 4 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.153, allocations: 4 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1531, allocations: 23.97 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1535, allocations: 268.9 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1538, allocations: 46.55 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.1538, allocations: 12.86 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1539, allocations: 3.938 kB / 444.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1539, allocations: 34.56 kB / 444.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1539, allocations: 4 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005614/0.1545, allocations: 141.4 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1545, allocations: 77.11 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1546, allocations: 141.4 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.1547, allocations: 25.7 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1547, allocations: 92.12 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1547, allocations: 11.81 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1548, allocations: 17.72 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.1548, allocations: 330.8 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.1549, allocations: 11.98 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.155, allocations: 33.64 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1551, allocations: 48.83 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1551, allocations: 192 / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001629/0.1553, allocations: 85.61 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1553, allocations: 4 kB / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1553, allocations: 0 / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1553, allocations: 0 / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.1554, allocations: 16.27 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1554, allocations: 0 / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.1554, allocations: 7.938 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1555, allocations: 11.92 kB / 445.6 MB, free: 1.523 MB / 318.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 5.805e-05/0.1555, allocations: 117.7 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1556, allocations: 11.91 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.1558, allocations: 89.61 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1558, allocations: 4 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1558, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1558, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.1561, allocations: 346.4 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1562, allocations: 8 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.1562, allocations: 12 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1562, allocations: 0 / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1562, allocations: 0 / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1563, allocations: 7.922 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1563, allocations: 4 kB / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1564, allocations: 179.6 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.1565, allocations: 81.11 kB / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1565, allocations: 0 / 446.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1566, allocations: 11.92 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1566, allocations: 0 / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.1566, allocations: 4 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.1567, allocations: 111.2 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1567, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.1571, allocations: 20 kB / 446.6 MB, free: 440 kB / 318.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.001981/0.159, allocations: 1.049 MB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1593, allocations: 51.91 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1593, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.1595, allocations: 23.98 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1599, allocations: 21.89 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1621, allocations: 1.373 MB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1625, allocations: 0.6846 MB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.1626, allocations: 20.03 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.1627, allocations: 19.42 kB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1627, allocations: 4 kB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1906, allocations: 2.667 MB / 452.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.872, allocations: 11.94 kB / 452.6 MB, free: 10.43 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches