Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001476/0.001476, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.001645/0.001644, allocations: 187.8 kB / 18.71 MB, free: 4.336 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2113/0.2113, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3165, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003057/0.3196, allocations: 1.966 MB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3213, allocations: 1.136 MB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.3215, allocations: 7.625 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3218, allocations: 51.94 kB / 0.5215 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3221, allocations: 142.9 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3234, allocations: 0.5793 MB / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.3238, allocations: 279.5 kB / 0.5225 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.324, allocations: 74.61 kB / 0.5226 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3242, allocations: 125.3 kB / 0.5227 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.3245, allocations: 182 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.3245, allocations: 11.75 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3247, allocations: 56.3 kB / 0.5229 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3249, allocations: 142.5 kB / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.325, allocations: 160.9 kB / 0.5232 GB, free: 348 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.3256, allocations: 402.8 kB / 0.5236 GB, free: 172 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3256, allocations: 0 / 0.5236 GB, free: 172 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3256, allocations: 0 / 0.5236 GB, free: 172 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3256, allocations: 0 / 0.5236 GB, free: 172 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001169/0.3268, allocations: 0.7715 MB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3268, allocations: 9.969 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.3269, allocations: 46.12 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.327, allocations: 52.59 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.3278, allocations: 458.1 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3278, allocations: 13.16 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.3279, allocations: 14.81 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.3283, allocations: 139 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3283, allocations: 1.312 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3283, allocations: 5.188 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3283, allocations: 6.844 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3287, allocations: 98.03 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3302, allocations: 0.7027 MB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3305, allocations: 113.7 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3306, allocations: 47.83 kB / 0.526 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.3306, allocations: 11.84 kB / 0.526 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.3307, allocations: 31.88 kB / 0.526 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.3307, allocations: 0 / 0.526 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001732/0.3324, allocations: 0.5464 MB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3325, allocations: 79.86 kB / 0.5266 GB, free: 14.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3336, allocations: 0.8865 MB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3337, allocations: 29.7 kB / 0.5275 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3339, allocations: 252.4 kB / 0.5278 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3339, allocations: 57.77 kB / 0.5278 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.334, allocations: 42.08 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3342, allocations: 372.9 kB / 0.5282 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3344, allocations: 66.98 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3346, allocations: 76.67 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.335, allocations: 160.2 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.335, allocations: 0 / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005477/0.3355, allocations: 239.7 kB / 0.5287 GB, free: 12.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3356, allocations: 4.062 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3356, allocations: 1.219 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3356, allocations: 1.094 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3358, allocations: 40.38 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3358, allocations: 9.172 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.336, allocations: 11.81 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.336, allocations: 8.953 kB / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002289/0.3363, allocations: 210 kB / 0.529 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3364, allocations: 56.34 kB / 0.5291 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.3371, allocations: 295.2 kB / 0.5294 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3371, allocations: 2.188 kB / 0.5294 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3371, allocations: 1.094 kB / 0.5294 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3371, allocations: 0 / 0.5294 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3384, allocations: 0.803 MB / 0.5301 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3384, allocations: 384 / 0.5301 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3386, allocations: 43.12 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3386, allocations: 1.375 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3387, allocations: 6.719 kB / 0.5302 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.3387, allocations: 5.281 kB / 0.5302 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3387, allocations: 0 / 0.5302 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.3393, allocations: 422.6 kB / 0.5306 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.3395, allocations: 149.8 kB / 0.5307 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.3395, allocations: 9.797 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3397, allocations: 11.91 kB / 0.5308 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.3398, allocations: 23.38 kB / 0.5308 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3398, allocations: 2.906 kB / 0.5308 GB, free: 11.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007814/0.3406, allocations: 0.6467 MB / 0.5314 GB, free: 10.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3406, allocations: 0 / 0.5314 GB, free: 10.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.341, allocations: 49.59 kB / 0.5315 GB, free: 10.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001651/0.3427, allocations: 1.254 MB / 0.5327 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.3431, allocations: 161.4 kB / 0.5328 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3432, allocations: 3.938 kB / 0.5329 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3434, allocations: 91.98 kB / 0.5329 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3441, allocations: 88.2 kB / 0.533 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.3503, allocations: 5.045 MB / 0.538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3508, allocations: 0.8669 MB / 0.5388 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.3511, allocations: 88.84 kB / 0.5389 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3513, allocations: 168.3 kB / 0.539 GB, free: 5.969 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3513, allocations: 0 / 0.539 GB, free: 5.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3809, allocations: 9.915 MB / 0.5487 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.784, allocations: 7.672 kB / 0.5487 GB, free: 12.86 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches