Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.001565/0.001565, allocations: 114.4 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.001672/0.001672, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1992/0.1992, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002575/0.3342, allocations: 1.632 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3356, allocations: 1.031 MB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.3357, allocations: 1.062 kB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.3359, allocations: 22.83 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.3362, allocations: 38.12 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.3365, allocations: 136.7 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3367, allocations: 69.47 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3368, allocations: 17.19 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.3369, allocations: 25.19 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.337, allocations: 31.88 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3371, allocations: 3.469 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3372, allocations: 51.58 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.3373, allocations: 15.73 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3373, allocations: 22.42 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3375, allocations: 112.8 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3376, allocations: 0 / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3376, allocations: 1.156 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3376, allocations: 0 / 0.5216 GB, free: 1.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005088/0.3381, allocations: 392.7 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3381, allocations: 9.062 kB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.3382, allocations: 42.22 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3382, allocations: 8.453 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3384, allocations: 191.4 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3384, allocations: 1.953 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3385, allocations: 10.41 kB / 0.5222 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3387, allocations: 73.86 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3387, allocations: 0 / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3387, allocations: 1.156 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3387, allocations: 5.188 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3389, allocations: 36.16 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3392, allocations: 298.3 kB / 0.5226 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3393, allocations: 41.19 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.3394, allocations: 28.3 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3395, allocations: 0.5625 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.3395, allocations: 32.59 kB / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3395, allocations: 0 / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000795/0.3403, allocations: 206.5 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3404, allocations: 79.33 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3405, allocations: 140.2 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3405, allocations: 25.7 kB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.3406, allocations: 102.7 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.3407, allocations: 24.81 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.3407, allocations: 20.05 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3408, allocations: 323.2 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.341, allocations: 33.34 kB / 0.5236 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3411, allocations: 47.44 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.3413, allocations: 73.11 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3413, allocations: 0 / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.3416, allocations: 114.1 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3417, allocations: 9.531 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3417, allocations: 0.7969 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3417, allocations: 1.062 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3418, allocations: 23.14 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3418, allocations: 3.938 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.3419, allocations: 13.89 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3419, allocations: 1.812 kB / 0.5239 GB, free: 15.16 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 (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 8.656e-05/0.342, allocations: 119.2 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.3421, allocations: 9.797 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.3424, allocations: 121.6 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3424, allocations: 9.422 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3424, allocations: 4.641 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3424, allocations: 5.219 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.343, allocations: 384.4 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.343, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.3431, allocations: 19.28 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3432, allocations: 9.891 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.3432, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3432, allocations: 0.9688 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3432, allocations: 0 / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.3435, allocations: 208 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3436, allocations: 84.7 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3436, allocations: 12.69 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3437, allocations: 9.625 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.3438, allocations: 5.672 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3438, allocations: 6.469 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.025e-05/0.3439, allocations: 114 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3439, allocations: 0 / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3442, allocations: 26.12 kB / 0.525 GB, free: 14.25 MB / 398.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.00154/0.3457, allocations: 1.078 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3461, allocations: 77.17 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3461, allocations: 1.469 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3462, allocations: 45.61 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3466, allocations: 20.55 kB / 0.5262 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3485, allocations: 1.531 MB / 0.5277 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3487, allocations: 0.6946 MB / 0.5283 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.3488, allocations: 26.52 kB / 0.5284 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.3489, allocations: 31.91 kB / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.936e-06/0.3489, allocations: 0 / 0.5284 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.3695, allocations: 3.042 MB / 0.5314 GB, free: 9.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.174, allocations: 20.92 kB / 0.5314 GB, free: 9.934 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches