Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001289/0.001289, allocations: 108.8 kB / 17.78 MB, free: 5.266 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.001249/0.00125, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.391/1.391, 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.22/0.22, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.351, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002893/0.354, allocations: 1.979 MB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3554, allocations: 0.9538 MB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.3555, allocations: 2.938 kB / 0.5213 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.356, allocations: 258.5 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.3564, allocations: 193.3 kB / 0.5217 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3577, allocations: 0.647 MB / 0.5224 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.3582, allocations: 305.6 kB / 0.5227 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3584, allocations: 77.52 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3586, allocations: 134 kB / 0.5229 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.3588, allocations: 200.7 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.3589, allocations: 9 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.3591, allocations: 99.7 kB / 0.5232 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3592, allocations: 96.94 kB / 0.5233 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3594, allocations: 125.8 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.3598, allocations: 340.1 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3598, allocations: 0 / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3598, allocations: 1.844 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.3598, allocations: 3.938 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008739/0.3607, allocations: 0.6771 MB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.3608, allocations: 11.23 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.3608, allocations: 49.16 kB / 0.5244 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.3609, allocations: 42.62 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.3614, allocations: 337.1 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3614, allocations: 7.531 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3614, allocations: 14.62 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3617, allocations: 129.7 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3617, allocations: 1.375 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3618, allocations: 4.609 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3618, allocations: 2.75 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.362, allocations: 104.2 kB / 0.525 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.3627, allocations: 0.5004 MB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.363, allocations: 105.5 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.3631, allocations: 42.06 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3631, allocations: 7.766 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3631, allocations: 43.81 kB / 0.5257 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3632, allocations: 0 / 0.5257 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001086/0.3642, allocations: 439.7 kB / 0.5261 GB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3643, allocations: 53.59 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.365, allocations: 0.557 MB / 0.5267 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.365, allocations: 31.23 kB / 0.5268 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3652, allocations: 205.9 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.3653, allocations: 58.5 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3654, allocations: 38.8 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3656, allocations: 351 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3657, allocations: 66.36 kB / 0.5274 GB, free: 13.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3658, allocations: 66.36 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.3661, allocations: 162.6 kB / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3662, allocations: 0 / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004095/0.3666, allocations: 234 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3666, allocations: 5.594 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3666, allocations: 0 / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3666, allocations: 1.75 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3668, allocations: 30.45 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3668, allocations: 1.062 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.3669, allocations: 16.8 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3669, allocations: 5.188 kB / 0.5279 GB, free: 13.29 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 (17): * Single equations (assignments): 17 * 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.0002004/0.3671, allocations: 184.9 kB / 0.5281 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.3672, allocations: 41.09 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005429/0.3677, allocations: 278.2 kB / 0.5284 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3678, allocations: 6.25 kB / 0.5284 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3678, allocations: 9.531 kB / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3678, allocations: 0 / 0.5284 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.3687, allocations: 0.6755 MB / 0.5291 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3688, allocations: 3.938 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3689, allocations: 34.34 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3689, allocations: 1.469 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3689, allocations: 1.188 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3689, allocations: 4.812 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3689, allocations: 5.094 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3694, allocations: 331.1 kB / 0.5295 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3695, allocations: 123.3 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.3696, allocations: 5.25 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3697, allocations: 12.25 kB / 0.5296 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.3697, allocations: 10.58 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3698, allocations: 12.42 kB / 0.5296 GB, free: 12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004606/0.3702, allocations: 412.2 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3702, allocations: 0 / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00032/0.3706, allocations: 53.8 kB / 0.5301 GB, free: 11.77 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 (17): * Single equations (assignments): 17 * 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.003318/0.3739, allocations: 1.461 MB / 0.5315 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3742, allocations: 161.1 kB / 0.5316 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3743, allocations: 0 / 0.5316 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3744, allocations: 88.95 kB / 0.5317 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.375, allocations: 84.06 kB / 0.5318 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.3791, allocations: 3.217 MB / 0.535 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3796, allocations: 0.8193 MB / 0.5358 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.3797, allocations: 52.44 kB / 0.5358 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3799, allocations: 125.9 kB / 0.5359 GB, free: 7.609 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3799, allocations: 0 / 0.5359 GB, free: 7.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.4113, allocations: 7.496 MB / 0.5432 GB, free: 2.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.845, allocations: 26.19 kB / 0.5433 GB, free: 2.641 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches