Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001727/0.001728, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001477/0.001477, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.528/1.528, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1962/0.1962, allocations: 43.52 MB / 314 MB, free: 0.5195 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.001474/0.001475, allocations: 66.64 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08693, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002519/0.08949, allocations: 1.601 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.09001, allocations: 351.4 kB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.09008, allocations: 0 / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.09036, allocations: 67.78 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.09055, allocations: 55.75 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.09087, allocations: 151.3 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.09101, allocations: 75.77 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.09113, allocations: 16 kB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.09119, allocations: 35.89 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.09128, allocations: 39.84 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.0913, allocations: 4 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.09138, allocations: 39.97 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.09145, allocations: 19.92 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.09149, allocations: 31.75 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.09166, allocations: 99.75 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.09167, allocations: 3.938 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09167, allocations: 3.938 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09168, allocations: 0 / 443.2 MB, free: 4.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004427/0.09213, allocations: 410.9 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.09218, allocations: 11.89 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.09221, allocations: 30.75 kB / 443.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.09225, allocations: 12.84 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.09241, allocations: 194.1 kB / 443.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.09243, allocations: 12.38 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.09245, allocations: 384 / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.09261, allocations: 69.53 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.09263, allocations: 4 kB / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.09264, allocations: 0 / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.09265, allocations: 0 / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.09278, allocations: 43.95 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.09313, allocations: 300.8 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.09324, allocations: 54.48 kB / 444.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.09332, allocations: 24.94 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.09334, allocations: 3.938 kB / 444.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.09336, allocations: 38.56 kB / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.09337, allocations: 0 / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006798/0.09405, allocations: 221.1 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.09409, allocations: 59.41 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.09422, allocations: 198.9 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.09423, allocations: 25.7 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.09429, allocations: 104.1 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.09432, allocations: 27.72 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.09436, allocations: 17.72 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.09441, allocations: 322.8 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.09452, allocations: 43.95 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.09462, allocations: 39.97 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.09482, allocations: 80.8 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09483, allocations: 0 / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002444/0.09508, allocations: 129.5 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.0951, allocations: 7.984 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.09511, allocations: 0 / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.09513, allocations: 0 / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.09524, allocations: 23.98 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.09525, allocations: 0 / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.09532, allocations: 15.92 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.09533, allocations: 0 / 445.7 MB, free: 1.5 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 (7): * Single equations (assignments): 7 * 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 6.157e-05/0.0954, allocations: 137.7 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.09544, allocations: 15.8 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.09575, allocations: 138.3 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.09576, allocations: 0 / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.09577, allocations: 7.984 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.09578, allocations: 4.219 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.09622, allocations: 410.8 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.09624, allocations: 0 / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.09632, allocations: 19.98 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.09633, allocations: 0 / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.09634, allocations: 11.92 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.09635, allocations: 4 kB / 446.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09636, allocations: 4 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.09662, allocations: 223.4 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.09666, allocations: 85 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.09669, allocations: 7.938 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.09678, allocations: 7.984 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.09683, allocations: 15.94 kB / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.09684, allocations: 0 / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.09692, allocations: 147.2 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09693, allocations: 3.938 kB / 446.9 MB, free: 176 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.09722, allocations: 23.91 kB / 446.9 MB, free: 152 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 (7): * Single equations (assignments): 7 * 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.001336/0.09856, allocations: 1.046 MB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.09888, allocations: 95.86 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0989, allocations: 0 / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.09903, allocations: 47.97 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.09942, allocations: 27.2 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1013, allocations: 1.685 MB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1016, allocations: 0.7094 MB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.1016, allocations: 28.94 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1017, allocations: 27.42 kB / 450.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1017, allocations: 0 / 450.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1199, allocations: 2.926 MB / 453.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.615, allocations: 11.16 kB / 453.5 MB, free: 9.48 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches