Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001342/0.001342, allocations: 112.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.001163/0.001163, allocations: 180.9 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.488/1.488, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2393/0.2393, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3637, allocations: 60.82 MB / 0.5184 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003027/0.3668, allocations: 1.623 MB / 0.52 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.3675, allocations: 462 kB / 0.5205 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.3676, allocations: 4.875 kB / 0.5205 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.3684, allocations: 451.1 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.3688, allocations: 249.2 kB / 0.5211 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.3693, allocations: 179.4 kB / 0.5213 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3696, allocations: 173.1 kB / 0.5215 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3697, allocations: 19.03 kB / 0.5215 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3699, allocations: 109.2 kB / 0.5216 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3702, allocations: 208.8 kB / 0.5218 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3702, allocations: 3.969 kB / 0.5218 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.3703, allocations: 38 kB / 0.5218 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3704, allocations: 83.53 kB / 0.5219 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.3705, allocations: 105 kB / 0.522 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3708, allocations: 268.8 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3708, allocations: 1.719 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3708, allocations: 0 / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3708, allocations: 0 / 0.5223 GB, free: 1.297 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.0007829/0.3716, allocations: 0.6581 MB / 0.5229 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3717, allocations: 11.34 kB / 0.5229 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.3717, allocations: 31.45 kB / 0.523 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3718, allocations: 43.53 kB / 0.523 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.372, allocations: 313.8 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.372, allocations: 5.906 kB / 0.5233 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.372, allocations: 1.656 kB / 0.5233 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3723, allocations: 63.91 kB / 0.5234 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3723, allocations: 0 / 0.5234 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3724, allocations: 0.5156 kB / 0.5234 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3724, allocations: 1.188 kB / 0.5234 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3725, allocations: 43.64 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.373, allocations: 412.6 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3731, allocations: 47.64 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.3732, allocations: 25.34 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3732, allocations: 0.6094 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3732, allocations: 35.84 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 5.2e-06/0.3733, allocations: 0 / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009421/0.3742, allocations: 311.8 kB / 0.5242 GB, free: 15.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3743, allocations: 52.78 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/0.3752, allocations: 0.8698 MB / 0.5251 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.3752, allocations: 26.48 kB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.3755, allocations: 213.3 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3756, allocations: 20.36 kB / 0.5254 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3756, allocations: 21.53 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3758, allocations: 365.9 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.376, allocations: 42.77 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3761, allocations: 36.97 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.3764, allocations: 87.7 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3765, allocations: 3.938 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003176/0.3768, allocations: 165.3 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3768, allocations: 4.828 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3768, allocations: 1.375 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3768, allocations: 0 / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3769, allocations: 23.42 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.377, allocations: 0.7969 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.377, allocations: 13.53 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3771, allocations: 1.984 kB / 0.5261 GB, free: 14.64 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 0.0002187/0.3773, allocations: 217.4 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3773, allocations: 42.97 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.3777, allocations: 179.1 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3778, allocations: 1.375 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3778, allocations: 0 / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3778, allocations: 5.594 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.3786, allocations: 0.5122 MB / 0.527 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3786, allocations: 3.938 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/0.3787, allocations: 22.95 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3787, allocations: 0 / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3787, allocations: 13.55 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3787, allocations: 0 / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3787, allocations: 1.406 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3791, allocations: 261.5 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.3792, allocations: 109.8 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3792, allocations: 5.969 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3793, allocations: 9.797 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.3794, allocations: 10.58 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3794, allocations: 6.625 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007222/0.3801, allocations: 0.6469 MB / 0.5281 GB, free: 13.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3801, allocations: 0 / 0.5281 GB, free: 13.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.3804, allocations: 28.95 kB / 0.5281 GB, free: 13.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.00203/0.3824, allocations: 1.088 MB / 0.5292 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.3827, allocations: 92.23 kB / 0.5293 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3827, allocations: 0 / 0.5293 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3829, allocations: 52.45 kB / 0.5293 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3833, allocations: 33.11 kB / 0.5293 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.3873, allocations: 3.336 MB / 0.5326 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.3879, allocations: 0.8344 MB / 0.5334 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.324e-05/0.388, allocations: 25.14 kB / 0.5334 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3882, allocations: 117 kB / 0.5335 GB, free: 9.301 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3882, allocations: 0 / 0.5335 GB, free: 9.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4195, allocations: 6.184 MB / 0.5396 GB, free: 6.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.985, allocations: 5.016 kB / 0.5396 GB, free: 6.156 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches