Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001159/0.001159, allocations: 118.4 kB / 17.78 MB, free: 5.281 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.001066/0.001066, allocations: 183 kB / 18.71 MB, free: 4.355 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.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2063/0.2063, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3082, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002679/0.3109, allocations: 1.63 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006437/0.3116, allocations: 427.6 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3116, allocations: 1.219 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.3123, allocations: 453.2 kB / 0.5209 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.3127, allocations: 253.7 kB / 0.5211 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.3131, allocations: 128.3 kB / 0.5213 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.3134, allocations: 173 kB / 0.5214 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3135, allocations: 14.64 kB / 0.5214 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3137, allocations: 107.9 kB / 0.5215 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.314, allocations: 211.6 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.314, allocations: 6.781 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3142, allocations: 52.05 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3143, allocations: 84.39 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.3144, allocations: 105.6 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.3148, allocations: 273.2 kB / 0.5222 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3148, allocations: 0 / 0.5222 GB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3148, allocations: 1.188 kB / 0.5222 GB, free: 1.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3148, allocations: 0 / 0.5222 GB, free: 1.426 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.0006271/0.3154, allocations: 0.6577 MB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3155, allocations: 15.27 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.3155, allocations: 40.8 kB / 0.5229 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.3156, allocations: 43.34 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3158, allocations: 307.4 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3158, allocations: 1.781 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3158, allocations: 11.02 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.316, allocations: 59.78 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.316, allocations: 3.938 kB / 0.5233 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.316, allocations: 5.219 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.316, allocations: 1.188 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.3162, allocations: 29.89 kB / 0.5234 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.3166, allocations: 396 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.3167, allocations: 45.81 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.3168, allocations: 19.56 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3168, allocations: 1.312 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.3168, allocations: 36.39 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3168, allocations: 0 / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009111/0.3177, allocations: 306.2 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3178, allocations: 60.95 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.3186, allocations: 0.8628 MB / 0.525 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3186, allocations: 25.7 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3188, allocations: 220 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3188, allocations: 33.11 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3188, allocations: 25.75 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.319, allocations: 361.7 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.3191, allocations: 25.83 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.3191, allocations: 28.09 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3193, allocations: 64.08 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3193, allocations: 0 / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002407/0.3196, allocations: 132.1 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3196, allocations: 5.594 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3196, allocations: 0 / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3196, allocations: 6.047 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3197, allocations: 25.11 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3197, allocations: 0.5156 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.3198, allocations: 9.641 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3198, allocations: 2.812 kB / 0.526 GB, free: 14.75 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 (8): * Single equations (assignments): 8 * 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 0.0002025/0.32, allocations: 212.4 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.3201, allocations: 41.81 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.3204, allocations: 164.3 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3205, allocations: 5.125 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3205, allocations: 5.344 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3205, allocations: 4.625 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.3211, allocations: 0.5018 MB / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3211, allocations: 32 / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.3212, allocations: 22.17 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3212, allocations: 1.672 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3212, allocations: 1.438 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3212, allocations: 1.406 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3212, allocations: 0 / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3215, allocations: 258.8 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.3216, allocations: 110.5 kB / 0.5272 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3216, allocations: 9.625 kB / 0.5273 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.3217, allocations: 8.281 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3218, allocations: 6.984 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3218, allocations: 3.094 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005732/0.3224, allocations: 0.6476 MB / 0.5279 GB, free: 13.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3224, allocations: 0 / 0.5279 GB, free: 13.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3227, allocations: 30.73 kB / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001469/0.3241, allocations: 1.136 MB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3244, allocations: 59.59 kB / 0.5291 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3244, allocations: 0 / 0.5291 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.3245, allocations: 38.52 kB / 0.5291 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3249, allocations: 32.08 kB / 0.5292 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.3285, allocations: 3.295 MB / 0.5324 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3289, allocations: 0.8253 MB / 0.5332 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.3289, allocations: 20.81 kB / 0.5332 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3291, allocations: 106.4 kB / 0.5333 GB, free: 9.484 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3291, allocations: 0 / 0.5333 GB, free: 9.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.3509, allocations: 6.284 MB / 0.5395 GB, free: 6.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.552, allocations: 4.875 kB / 0.5395 GB, free: 6.305 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches