Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",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.001207/0.001207, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001376/0.001376, allocations: 180.2 kB / 18.71 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002744/0.3242, allocations: 1.646 MB / 0.5201 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.3249, allocations: 420.5 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.3249, allocations: 1.062 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3251, allocations: 60.23 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.3253, allocations: 55.52 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.3256, allocations: 129.6 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3258, allocations: 76.78 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.3259, allocations: 30.33 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.3259, allocations: 28.48 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.326, allocations: 53.97 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.326, allocations: 3.531 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.3261, allocations: 52.2 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.3262, allocations: 19.73 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.3263, allocations: 33.16 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.3264, allocations: 112 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3264, allocations: 0 / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3265, allocations: 4 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3265, allocations: 1.062 kB / 0.5211 GB, free: 1.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004185/0.3269, allocations: 415.3 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3269, allocations: 10.41 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.327, allocations: 33.25 kB / 0.5215 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.327, allocations: 13.69 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3271, allocations: 203.1 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.3272, allocations: 5.438 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3272, allocations: 4 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3273, allocations: 66.23 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3274, allocations: 1.75 kB / 0.5218 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3274, allocations: 5.094 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3274, allocations: 1.188 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3275, allocations: 38.3 kB / 0.5219 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.3278, allocations: 310.6 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.328, allocations: 65.59 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.3281, allocations: 24.41 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3282, allocations: 2.234 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3282, allocations: 31.47 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3282, allocations: 0 / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001345/0.3295, allocations: 394.2 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3296, allocations: 54.5 kB / 0.5227 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3297, allocations: 187.3 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.3297, allocations: 30.98 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.3298, allocations: 104.5 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.3298, allocations: 39.67 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3299, allocations: 30.25 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.33, allocations: 322.7 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3301, allocations: 39.17 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3303, allocations: 44.34 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.3305, allocations: 105.5 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3305, allocations: 0 / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000329/0.3309, allocations: 135.1 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3309, allocations: 7.375 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3309, allocations: 1.125 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3309, allocations: 5.688 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.331, allocations: 33.48 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.331, allocations: 0.5156 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.3311, allocations: 14.34 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3311, allocations: 6.031 kB / 0.5237 GB, free: 15.51 MB / 398.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 (11): * Single equations (assignments): 11 * 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 8.871e-05/0.3312, allocations: 122.2 kB / 0.5239 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.3313, allocations: 13.72 kB / 0.5239 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.3317, allocations: 184.8 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3317, allocations: 6.219 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3317, allocations: 0 / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3317, allocations: 0.7031 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.3323, allocations: 484.6 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3324, allocations: 2 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3325, allocations: 24.52 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3325, allocations: 1.062 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3325, allocations: 3.297 kB / 0.5246 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3325, allocations: 1.375 kB / 0.5246 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3325, allocations: 1.625 kB / 0.5246 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.3328, allocations: 261 kB / 0.5248 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.3329, allocations: 90.31 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3329, allocations: 6.125 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.333, allocations: 10.05 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3331, allocations: 12.27 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3331, allocations: 8.688 kB / 0.5249 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.3332, allocations: 142.5 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3332, allocations: 0 / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3335, allocations: 23.95 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001522/0.335, allocations: 1.134 MB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3354, allocations: 111.8 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3354, allocations: 0 / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3355, allocations: 55.89 kB / 0.5264 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3359, allocations: 29.42 kB / 0.5264 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3379, allocations: 1.793 MB / 0.5281 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3382, allocations: 0.7059 MB / 0.5288 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.3383, allocations: 18.38 kB / 0.5288 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.3383, allocations: 35.91 kB / 0.5289 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3383, allocations: 0 / 0.5289 GB, free: 11.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3578, allocations: 3.323 MB / 0.5321 GB, free: 9.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.085, allocations: 13.36 kB / 0.5321 GB, free: 9.84 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches