Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001333/0.001333, allocations: 117.2 kB / 17.78 MB, free: 5.234 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.001506/0.001506, allocations: 184.2 kB / 18.72 MB, free: 4.312 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.413/1.413, 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.2191/0.2191, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3677, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002733/0.3704, allocations: 1.58 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.3711, allocations: 414.3 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.3712, allocations: 5.25 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.3719, allocations: 448.8 kB / 0.5208 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.3724, allocations: 254.3 kB / 0.5211 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.3728, allocations: 121.6 kB / 0.5212 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.3731, allocations: 162.2 kB / 0.5213 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3732, allocations: 9.438 kB / 0.5213 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3733, allocations: 108.1 kB / 0.5214 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.3736, allocations: 206.1 kB / 0.5216 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3736, allocations: 3.188 kB / 0.5216 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.3737, allocations: 27.91 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3738, allocations: 81.03 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.3738, allocations: 99.75 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3741, allocations: 249.9 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3741, allocations: 0 / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3741, allocations: 0.5156 kB / 0.5221 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3741, allocations: 3.938 kB / 0.5221 GB, free: 1.52 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.000634/0.3748, allocations: 0.6469 MB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3748, allocations: 10.16 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.3749, allocations: 37.53 kB / 0.5228 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.3749, allocations: 46 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3752, allocations: 302.7 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3752, allocations: 1.688 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3752, allocations: 5.656 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3754, allocations: 53.12 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3754, allocations: 0 / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3754, allocations: 0.7031 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3754, allocations: 1.062 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3755, allocations: 34.12 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3759, allocations: 381.8 kB / 0.5235 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.3761, allocations: 36.89 kB / 0.5236 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.3761, allocations: 28.88 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3762, allocations: 5.375 kB / 0.5236 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.3762, allocations: 32.95 kB / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3762, allocations: 0 / 0.5236 GB, free: 132 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003244/0.3765, allocations: 120.3 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3765, allocations: 51.92 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.3775, allocations: 0.8611 MB / 0.5247 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3775, allocations: 29.7 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3777, allocations: 213 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3777, allocations: 14.08 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3778, allocations: 13.27 kB / 0.5249 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.378, allocations: 366.6 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.3781, allocations: 12.09 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.3781, allocations: 17.09 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.3782, allocations: 37.81 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3782, allocations: 1.375 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001965/0.3784, allocations: 108.3 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3784, allocations: 6.25 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3784, allocations: 0 / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3785, allocations: 1.375 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.3785, allocations: 12.98 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3785, allocations: 0.6562 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.3786, allocations: 9.391 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3786, allocations: 0.6094 kB / 0.5255 GB, free: 15.02 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 (3): * Single equations (assignments): 3 * 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.00023/0.3788, allocations: 211.3 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.3789, allocations: 42.11 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3792, allocations: 124.4 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3792, allocations: 2.156 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3792, allocations: 0 / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3792, allocations: 4 kB / 0.5258 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.3796, allocations: 288.9 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3796, allocations: 0 / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3796, allocations: 9.719 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3796, allocations: 1.531 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3796, allocations: 0 / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3796, allocations: 0 / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3796, allocations: 2.25 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3799, allocations: 208.4 kB / 0.5263 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.38, allocations: 116.7 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.38, allocations: 0.6094 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.3801, allocations: 6 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3801, allocations: 2.531 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3801, allocations: 5.219 kB / 0.5264 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.3808, allocations: 0.6512 MB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 0 / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3811, allocations: 23.44 kB / 0.5271 GB, free: 13.95 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 (3): * Single equations (assignments): 3 * 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.00174/0.3828, allocations: 0.992 MB / 0.5281 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.383, allocations: 36.59 kB / 0.5281 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.383, allocations: 0 / 0.5281 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.3831, allocations: 19.89 kB / 0.5281 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3835, allocations: 20.89 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3876, allocations: 3.138 MB / 0.5312 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.3881, allocations: 0.8212 MB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.3882, allocations: 12.95 kB / 0.532 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.3883, allocations: 102.5 kB / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3883, allocations: 0 / 0.5321 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.4184, allocations: 5.781 MB / 0.5378 GB, free: 7.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.905, allocations: 5.188 kB / 0.5378 GB, free: 7.258 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_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_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches