Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001055/0.001055, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001106/0.001106, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.336/1.336, 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.2254/0.2254, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003168/0.3037, allocations: 1.817 MB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3051, allocations: 0.8535 MB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.3052, allocations: 1.25 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3055, allocations: 61.06 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3059, allocations: 82.98 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.3064, allocations: 162.4 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.3068, allocations: 186.3 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3069, allocations: 30.55 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3071, allocations: 82.66 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.3073, allocations: 104.6 kB / 0.5217 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.3073, allocations: 17.28 kB / 0.5217 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3075, allocations: 40.7 kB / 0.5218 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3076, allocations: 44.17 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3077, allocations: 70.59 kB / 0.5219 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3081, allocations: 185.7 kB / 0.5221 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3081, allocations: 2.016 kB / 0.5221 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3081, allocations: 0 / 0.5221 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3081, allocations: 0 / 0.5221 GB, free: 0.9727 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.001176/0.3093, allocations: 0.5719 MB / 0.5226 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3093, allocations: 9.5 kB / 0.5226 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.3094, allocations: 37.83 kB / 0.5227 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3094, allocations: 17.16 kB / 0.5227 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3097, allocations: 235 kB / 0.5229 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3097, allocations: 4.375 kB / 0.5229 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3097, allocations: 13.31 kB / 0.5229 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.3102, allocations: 139.2 kB / 0.5231 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3103, allocations: 3.938 kB / 0.5231 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3103, allocations: 6.266 kB / 0.5231 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3103, allocations: 0 / 0.5231 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.3111, allocations: 160.8 kB / 0.5232 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.3116, allocations: 370.1 kB / 0.5236 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.3125, allocations: 199.7 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.3129, allocations: 92.61 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3129, allocations: 1.688 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/0.3135, allocations: 165.3 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.3135, allocations: 3.938 kB / 0.524 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004005/0.3176, allocations: 0.805 MB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3176, allocations: 63.53 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3179, allocations: 249.2 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.318, allocations: 31.89 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.3181, allocations: 124.4 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3181, allocations: 36.73 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.3182, allocations: 33.2 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3183, allocations: 331.2 kB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.3191, allocations: 165.7 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.3199, allocations: 184.8 kB / 0.526 GB, free: 14.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3213, allocations: 354.8 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3213, allocations: 0 / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001648/0.323, allocations: 462.5 kB / 0.5268 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.323, allocations: 64.62 kB / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3231, allocations: 0 / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3231, allocations: 1.375 kB / 0.5268 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.3235, allocations: 71.7 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3235, allocations: 5.359 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.324, allocations: 66.28 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.324, allocations: 4.125 kB / 0.527 GB, free: 13.93 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.0001671/0.3242, allocations: 143.5 kB / 0.5271 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.3243, allocations: 16.06 kB / 0.5271 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.3259, allocations: 401 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3259, allocations: 6.219 kB / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3259, allocations: 0 / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3259, allocations: 0 / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.3278, allocations: 0.7098 MB / 0.5282 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3279, allocations: 1.562 kB / 0.5282 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.3283, allocations: 66.5 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3283, allocations: 1.125 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3283, allocations: 5.156 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3283, allocations: 0.9688 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3283, allocations: 11.92 kB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3299, allocations: 468.5 kB / 0.5287 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.33, allocations: 105.6 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.33, allocations: 1.469 kB / 0.5288 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.3305, allocations: 65.69 kB / 0.5289 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3306, allocations: 46.47 kB / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3307, allocations: 6.969 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3309, allocations: 174.6 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3309, allocations: 0 / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3312, allocations: 49.48 kB / 0.5292 GB, free: 12.38 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.002713/0.3339, allocations: 1.315 MB / 0.5304 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.3356, allocations: 467.5 kB / 0.5309 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3356, allocations: 0 / 0.5309 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.3364, allocations: 196.5 kB / 0.5311 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3368, allocations: 26.98 kB / 0.5311 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.3431, allocations: 2.801 MB / 0.5338 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3434, allocations: 0.7245 MB / 0.5345 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3435, allocations: 28.03 kB / 0.5346 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3436, allocations: 50.05 kB / 0.5346 GB, free: 8.242 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3437, allocations: 4 kB / 0.5346 GB, free: 8.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3667, allocations: 5.748 MB / 0.5402 GB, free: 5.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.358, allocations: 9.406 kB / 0.5402 GB, free: 5.191 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)