Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001857/0.001857, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.002145/0.002145, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.3/1.3, 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.198/0.198, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3706, allocations: 60.83 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003486/0.3742, allocations: 1.636 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.3751, allocations: 451.6 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.3752, allocations: 1.5 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3755, allocations: 60.22 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.3758, allocations: 48.41 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.3763, allocations: 180.9 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.3765, allocations: 81.53 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3767, allocations: 25.34 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.3768, allocations: 35.16 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3769, allocations: 42.58 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3769, allocations: 3.531 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3771, allocations: 48.38 kB / 0.521 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.3771, allocations: 20.78 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.3772, allocations: 32.98 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3774, allocations: 120.3 kB / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3775, allocations: 0 / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3775, allocations: 4 kB / 0.5212 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.3775, allocations: 1.703 kB / 0.5212 GB, free: 1.586 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.0005913/0.3781, allocations: 413.8 kB / 0.5215 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3781, allocations: 10.06 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.3782, allocations: 33.2 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3782, allocations: 10.41 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3784, allocations: 208.4 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3785, allocations: 1.406 kB / 0.5218 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3785, allocations: 7.531 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3787, allocations: 74.08 kB / 0.5219 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3788, allocations: 13.83 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3788, allocations: 0 / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3788, allocations: 1.188 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3789, allocations: 42.75 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.3794, allocations: 324.5 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.3797, allocations: 56.16 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.3798, allocations: 30.77 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3798, allocations: 1.828 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3798, allocations: 35.78 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3798, allocations: 0 / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.3813, allocations: 422.9 kB / 0.5228 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3814, allocations: 52.47 kB / 0.5228 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3816, allocations: 189.4 kB / 0.523 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3816, allocations: 26.59 kB / 0.523 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.3817, allocations: 108 kB / 0.5231 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.175e-05/0.3817, allocations: 35.34 kB / 0.5232 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.3818, allocations: 27.45 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3819, allocations: 322.1 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3821, allocations: 52.2 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3822, allocations: 59.52 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3825, allocations: 127 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3826, allocations: 0 / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004335/0.383, allocations: 168.7 kB / 0.5239 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.383, allocations: 3.812 kB / 0.5239 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.383, allocations: 0 / 0.5239 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3831, allocations: 9.062 kB / 0.5239 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3832, allocations: 33.77 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3832, allocations: 1.797 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.3833, allocations: 8.531 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3833, allocations: 3.625 kB / 0.5239 GB, free: 15.46 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 (11): * Single equations (assignments): 11 * 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.0001158/0.3834, allocations: 131.6 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3834, allocations: 9.172 kB / 0.5241 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.3839, allocations: 191.2 kB / 0.5243 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3839, allocations: 5.562 kB / 0.5243 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3839, allocations: 0.7031 kB / 0.5243 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.384, allocations: 4.5 kB / 0.5243 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.3847, allocations: 0.5009 MB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3847, allocations: 1.062 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3848, allocations: 30.2 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3849, allocations: 1.219 kB / 0.5248 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3849, allocations: 6.312 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3849, allocations: 1.906 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3849, allocations: 0 / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3853, allocations: 268.7 kB / 0.525 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.3854, allocations: 94.17 kB / 0.5251 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3854, allocations: 1.969 kB / 0.5251 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.3855, allocations: 9.531 kB / 0.5251 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3856, allocations: 20.38 kB / 0.5252 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.3856, allocations: 3.719 kB / 0.5252 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3857, allocations: 141.9 kB / 0.5253 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3857, allocations: 0 / 0.5253 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.386, allocations: 27.42 kB / 0.5253 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001632/0.3876, allocations: 1.168 MB / 0.5265 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.388, allocations: 129.7 kB / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.388, allocations: 0 / 0.5266 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3882, allocations: 71.11 kB / 0.5267 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3886, allocations: 24.08 kB / 0.5267 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3912, allocations: 1.876 MB / 0.5285 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3916, allocations: 0.7112 MB / 0.5292 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3917, allocations: 34.03 kB / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.3918, allocations: 39.16 kB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3918, allocations: 0 / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.4153, allocations: 3.468 MB / 0.5327 GB, free: 9.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.93, allocations: 21.28 kB / 0.5327 GB, free: 9.566 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches