Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.00173/0.00173, allocations: 113.8 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.0019/0.0019, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2184/0.2184, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3231, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00293/0.3261, allocations: 1.564 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3275, allocations: 1.028 MB / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3275, allocations: 0 / 0.521 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3278, allocations: 29.23 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.328, allocations: 41.5 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.3282, allocations: 106.7 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3284, allocations: 51.94 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3285, allocations: 12.33 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.3285, allocations: 35.64 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.3287, allocations: 21.36 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3287, allocations: 3.5 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3288, allocations: 54.14 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.3289, allocations: 12.98 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.3289, allocations: 16.78 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3291, allocations: 90.94 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3291, allocations: 0 / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3291, allocations: 1.031 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3291, allocations: 0 / 0.5214 GB, free: 1.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004339/0.3296, allocations: 385.1 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3296, allocations: 13.72 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.3297, allocations: 32.53 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3297, allocations: 8.266 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3299, allocations: 190.2 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3299, allocations: 5.562 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3299, allocations: 3.031 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3301, allocations: 65.94 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3301, allocations: 11.89 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3301, allocations: 5.125 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3302, allocations: 1.062 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3303, allocations: 23.08 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3306, allocations: 275.5 kB / 0.5224 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3309, allocations: 50.7 kB / 0.5225 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.3309, allocations: 18.38 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.331, allocations: 1.031 kB / 0.5225 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.331, allocations: 32.12 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.331, allocations: 0 / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006239/0.3316, allocations: 146.4 kB / 0.5226 GB, free: 104 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3317, allocations: 79.03 kB / 0.5227 GB, free: 8 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3319, allocations: 136.2 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3319, allocations: 25.7 kB / 0.5229 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.332, allocations: 92.86 kB / 0.523 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.332, allocations: 20.28 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3321, allocations: 18.59 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3322, allocations: 319.2 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3323, allocations: 24.52 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.3324, allocations: 37.17 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3326, allocations: 56.06 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3326, allocations: 0 / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002208/0.3328, allocations: 85.27 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3328, allocations: 10.53 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3328, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3329, allocations: 0 / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.3329, allocations: 16.23 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.333, allocations: 5.938 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.333, allocations: 4.625 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.333, allocations: 5.062 kB / 0.5235 GB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.0001152/0.3332, allocations: 116.2 kB / 0.5237 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3332, allocations: 7.266 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.3335, allocations: 100.1 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3335, allocations: 1.094 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3335, allocations: 1.719 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3335, allocations: 0.9375 kB / 0.5238 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.3341, allocations: 349.9 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3341, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3341, allocations: 20.14 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.3342, allocations: 5.109 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3342, allocations: 0.9375 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.3342, allocations: 13.31 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3342, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3345, allocations: 176.6 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.3345, allocations: 87.42 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3346, allocations: 6.172 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3346, allocations: 9.797 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3347, allocations: 2.688 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3347, allocations: 2 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.3348, allocations: 102.6 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3348, allocations: 1.031 kB / 0.5245 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3351, allocations: 23.81 kB / 0.5245 GB, free: 14.43 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 (5): * Single equations (assignments): 5 * 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.002017/0.3371, allocations: 1.059 MB / 0.5256 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3373, allocations: 53.98 kB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3373, allocations: 0 / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3374, allocations: 33.55 kB / 0.5256 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.0003711/0.3378, allocations: 18.75 kB / 0.5257 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3395, allocations: 1.399 MB / 0.527 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3398, allocations: 0.6969 MB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.3399, allocations: 13.38 kB / 0.5277 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.34, allocations: 27.73 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.34, allocations: 0 / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.3748, allocations: 2.778 MB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.401, allocations: 9.25 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches