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.001618/0.001618, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001868/0.001868, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2123/0.2123, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3623, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002888/0.3653, allocations: 1.972 MB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3666, allocations: 0.9558 MB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.3667, allocations: 2.531 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.3672, allocations: 262.4 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.3676, allocations: 193.4 kB / 0.5217 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3688, allocations: 0.6447 MB / 0.5224 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.3692, allocations: 307.9 kB / 0.5227 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3694, allocations: 81.19 kB / 0.5227 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3695, allocations: 134.7 kB / 0.5229 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3698, allocations: 201 kB / 0.523 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3698, allocations: 9.312 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.37, allocations: 102.8 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3701, allocations: 97.81 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.3702, allocations: 118.6 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.3705, allocations: 339.9 kB / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3706, allocations: 1.312 kB / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3706, allocations: 0 / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3706, allocations: 11.88 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.0007393/0.3713, allocations: 0.6556 MB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3714, allocations: 9.688 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.3714, allocations: 40.7 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.3715, allocations: 39.31 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3719, allocations: 336 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3719, allocations: 8 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3719, allocations: 11.34 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3722, allocations: 134.1 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3722, allocations: 5.375 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3722, allocations: 7.984 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3722, allocations: 2.906 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.3724, allocations: 91.56 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.3731, allocations: 0.5085 MB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3733, allocations: 110.1 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.3734, allocations: 41.97 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3734, allocations: 3.406 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3734, allocations: 36.58 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.3735, allocations: 0 / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009507/0.3744, allocations: 447.2 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3745, allocations: 52.78 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.375, allocations: 0.5561 MB / 0.5267 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3751, allocations: 27.2 kB / 0.5267 GB, free: 14.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3752, allocations: 202.2 kB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3753, allocations: 54.45 kB / 0.527 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.3754, allocations: 38.3 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3755, allocations: 350.4 kB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3756, allocations: 71.27 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3758, allocations: 64.45 kB / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3761, allocations: 156.9 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3761, allocations: 0 / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004034/0.3765, allocations: 231.3 kB / 0.5278 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3765, allocations: 5.125 kB / 0.5278 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3765, allocations: 5 kB / 0.5278 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3766, allocations: 1.281 kB / 0.5278 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3767, allocations: 33.97 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3767, allocations: 1.219 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.3768, allocations: 9.438 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3768, allocations: 8.719 kB / 0.5279 GB, free: 13.33 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.0001886/0.377, allocations: 184.8 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.3771, allocations: 40.94 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/0.3777, allocations: 285.5 kB / 0.5284 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3777, allocations: 5.031 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3777, allocations: 0.875 kB / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3777, allocations: 0 / 0.5284 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.3787, allocations: 0.6826 MB / 0.5291 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3787, allocations: 0 / 0.5291 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3788, allocations: 38.23 kB / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3788, allocations: 1 kB / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3788, allocations: 1.688 kB / 0.5291 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3789, allocations: 5 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3789, allocations: 1.062 kB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3793, allocations: 330.4 kB / 0.5294 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.3794, allocations: 114.8 kB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3795, allocations: 9.156 kB / 0.5295 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3796, allocations: 17.31 kB / 0.5296 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3796, allocations: 13.59 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3797, allocations: 4.562 kB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003872/0.3801, allocations: 412.4 kB / 0.53 GB, free: 11.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3801, allocations: 0 / 0.53 GB, free: 11.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3804, allocations: 53.27 kB / 0.53 GB, free: 11.82 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.002102/0.3825, allocations: 1.464 MB / 0.5314 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3829, allocations: 157.5 kB / 0.5316 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3829, allocations: 4 kB / 0.5316 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.3831, allocations: 91.77 kB / 0.5317 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.3837, allocations: 84.5 kB / 0.5318 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.3873, allocations: 3.187 MB / 0.5349 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3877, allocations: 0.8198 MB / 0.5357 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.3879, allocations: 60.3 kB / 0.5357 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3881, allocations: 125.6 kB / 0.5359 GB, free: 7.676 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3881, allocations: 0 / 0.5359 GB, free: 7.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4115, allocations: 7.568 MB / 0.5432 GB, free: 2.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.618, allocations: 13 kB / 0.5433 GB, free: 2.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 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.mat","/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