Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.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.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",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.001344/0.001344, allocations: 101.1 kB / 16.27 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.00152/0.00152, allocations: 190.1 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.396/1.396, 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.1961/0.1961, allocations: 43.51 MB / 313.9 MB, free: 0.543 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.001702/0.001702, allocations: 64.3 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08749, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002425/0.08995, allocations: 1.597 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.09093, allocations: 0.9377 MB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.091, allocations: 0 / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.09117, allocations: 31.84 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.09136, allocations: 47.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.09161, allocations: 111.6 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.936e-05/0.09172, allocations: 55.84 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.09181, allocations: 16.12 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.09186, allocations: 27.84 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.09199, allocations: 39.36 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.09201, allocations: 8 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.09212, allocations: 51.97 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.09217, allocations: 15.92 kB / 443.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.0922, allocations: 23.88 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.09236, allocations: 95.75 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09237, allocations: 0 / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09238, allocations: 3.938 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.09239, allocations: 0 / 443.7 MB, free: 3.746 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.0003871/0.09278, allocations: 403.1 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.09282, allocations: 15.89 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.09285, allocations: 34.75 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.09289, allocations: 8.844 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.09302, allocations: 192.2 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.09303, allocations: 384 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.09305, allocations: 4.125 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.0932, allocations: 75.38 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.09322, allocations: 0 / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.09324, allocations: 4 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.09325, allocations: 0 / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.09337, allocations: 39.91 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.09365, allocations: 292.7 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.09376, allocations: 42.56 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.09383, allocations: 24.94 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.09386, allocations: 3.938 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.09388, allocations: 38.5 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09389, allocations: 0 / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006559/0.09455, allocations: 213.4 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.09459, allocations: 77.11 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.0947, allocations: 146 kB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.09472, allocations: 25.7 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.09476, allocations: 100.2 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.09478, allocations: 15.66 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.09482, allocations: 29.66 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.09487, allocations: 318.8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.09498, allocations: 35.97 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.09509, allocations: 41.69 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.09528, allocations: 76.84 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.09529, allocations: 0 / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002342/0.09553, allocations: 109.5 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.09555, allocations: 4 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.09556, allocations: 0 / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.09558, allocations: 4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.09569, allocations: 19.98 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.0957, allocations: 7.922 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.09577, allocations: 12 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.09579, allocations: 0 / 446 MB, free: 1.125 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 5.245e-05/0.09584, allocations: 125.8 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.09588, allocations: 7.906 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.09616, allocations: 130.3 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.09617, allocations: 0 / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.09618, allocations: 7.938 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.09619, allocations: 0 / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.09659, allocations: 386.4 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.0966, allocations: 11.92 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.09668, allocations: 19.98 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09669, allocations: 3.938 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.0967, allocations: 0 / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.09671, allocations: 4 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.09671, allocations: 0 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.09704, allocations: 207.9 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.09708, allocations: 89.09 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.09711, allocations: 3.938 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.09721, allocations: 8 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.09725, allocations: 7.984 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.09726, allocations: 4 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.948e-05/0.09736, allocations: 111.2 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.09737, allocations: 3.938 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.09766, allocations: 31.94 kB / 447.2 MB, free: 15.88 MB / 334.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.001395/0.09906, allocations: 1.074 MB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.09934, allocations: 79.88 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09936, allocations: 0 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.09948, allocations: 47.97 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.09982, allocations: 21.95 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1016, allocations: 1.53 MB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1019, allocations: 0.6924 MB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.102, allocations: 17.11 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.102, allocations: 27.42 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.102, allocations: 4 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1242, allocations: 2.948 MB / 453.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.58, allocations: 12.05 kB / 453.6 MB, free: 9.359 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches