Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",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.001629/0.001629, allocations: 109.5 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.002049/0.002049, allocations: 188 kB / 18.71 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.503/1.503, 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.2242/0.2242, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.372, allocations: 60.84 MB / 0.5184 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004756/0.3769, allocations: 1.812 MB / 0.5202 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3792, allocations: 0.883 MB / 0.5211 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3794, allocations: 1.188 kB / 0.5211 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3797, allocations: 62.33 kB / 0.5211 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3802, allocations: 78.52 kB / 0.5212 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3813, allocations: 214 kB / 0.5214 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.3819, allocations: 190.5 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3821, allocations: 27.97 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.3824, allocations: 88.39 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.3828, allocations: 101.8 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.3829, allocations: 12.56 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.3831, allocations: 37.67 kB / 0.5219 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3833, allocations: 47.17 kB / 0.5219 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.3835, allocations: 72.23 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.3841, allocations: 192.9 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3841, allocations: 0.6562 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3841, allocations: 0 / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3842, allocations: 0 / 0.5222 GB, free: 0.793 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001797/0.386, allocations: 0.5729 MB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.386, allocations: 9.969 kB / 0.5227 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.3861, allocations: 33.88 kB / 0.5228 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.3862, allocations: 21.31 kB / 0.5228 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.3866, allocations: 236.4 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3866, allocations: 3.219 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3867, allocations: 18.41 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.3876, allocations: 145.1 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3877, allocations: 0 / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.3877, allocations: 2.062 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3877, allocations: 5.188 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.3891, allocations: 169.9 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.3906, allocations: 438.5 kB / 0.5237 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3921, allocations: 195.5 kB / 0.5239 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006949/0.3928, allocations: 95.48 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.3928, allocations: 1.188 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3939, allocations: 171.2 kB / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.336e-06/0.3939, allocations: 0 / 0.5242 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.006754/0.4007, allocations: 0.8317 MB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.4008, allocations: 62.89 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.4012, allocations: 243.9 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.4013, allocations: 31.08 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4014, allocations: 121.8 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.4015, allocations: 35.58 kB / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.4017, allocations: 34.08 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4019, allocations: 328.9 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4032, allocations: 175.7 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.4046, allocations: 180.7 kB / 0.5262 GB, free: 14.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.4071, allocations: 380 kB / 0.5265 GB, free: 14.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4071, allocations: 0 / 0.5265 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002962/0.4101, allocations: 465.4 kB / 0.527 GB, free: 13.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.4102, allocations: 65.23 kB / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4102, allocations: 5.438 kB / 0.527 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4103, allocations: 3.984 kB / 0.527 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.411, allocations: 76.69 kB / 0.5271 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.4111, allocations: 3.984 kB / 0.5271 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007502/0.4118, allocations: 63.66 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.4119, allocations: 6.75 kB / 0.5272 GB, free: 13.7 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0002507/0.4122, allocations: 140.9 kB / 0.5273 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.4123, allocations: 16.06 kB / 0.5273 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.4153, allocations: 416.5 kB / 0.5277 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4153, allocations: 6.25 kB / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4153, allocations: 4 kB / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4153, allocations: 0 / 0.5277 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.4189, allocations: 0.7201 MB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4189, allocations: 0.75 kB / 0.5284 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.4196, allocations: 79.09 kB / 0.5285 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4196, allocations: 1.594 kB / 0.5285 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.4197, allocations: 5.516 kB / 0.5285 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4197, allocations: 0 / 0.5285 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4197, allocations: 1.406 kB / 0.5285 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4227, allocations: 497.1 kB / 0.529 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.4228, allocations: 96.69 kB / 0.5291 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.4229, allocations: 6.75 kB / 0.5291 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.4237, allocations: 57.5 kB / 0.5291 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.424, allocations: 57.66 kB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.4241, allocations: 4.812 kB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.4244, allocations: 182.1 kB / 0.5294 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4244, allocations: 0.8438 kB / 0.5294 GB, free: 12.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.425, allocations: 45.89 kB / 0.5294 GB, free: 12.13 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004741/0.4298, allocations: 1.327 MB / 0.5307 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.4328, allocations: 485.8 kB / 0.5312 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4328, allocations: 4 kB / 0.5312 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.4343, allocations: 187.3 kB / 0.5314 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.435, allocations: 41.78 kB / 0.5314 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4454, allocations: 2.854 MB / 0.5342 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.4458, allocations: 0.7341 MB / 0.5349 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.4461, allocations: 34.33 kB / 0.5349 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.4464, allocations: 49.36 kB / 0.535 GB, free: 7.938 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4464, allocations: 3.938 kB / 0.535 GB, free: 7.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.4809, allocations: 5.832 MB / 0.5407 GB, free: 4.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.301, allocations: 10.42 kB / 0.5407 GB, free: 4.852 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)