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.001233/0.001233, allocations: 118.1 kB / 17.79 MB, free: 5.254 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.001177/0.001177, allocations: 183 kB / 18.72 MB, free: 4.332 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2139/0.2139, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3141, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002577/0.3167, allocations: 1.814 MB / 0.5202 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3178, allocations: 0.8793 MB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.3179, allocations: 1.031 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3181, allocations: 63.66 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.3183, allocations: 82.52 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3188, allocations: 201.5 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3191, allocations: 203.2 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3192, allocations: 26.89 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3193, allocations: 79.94 kB / 0.5217 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3195, allocations: 105.9 kB / 0.5218 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.3195, allocations: 13.31 kB / 0.5218 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3196, allocations: 37.3 kB / 0.5219 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.3197, allocations: 48.39 kB / 0.5219 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.3198, allocations: 71.91 kB / 0.522 GB, free: 1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3201, allocations: 189.7 kB / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3201, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3201, allocations: 4 kB / 0.5222 GB, free: 0.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3201, allocations: 1.438 kB / 0.5222 GB, free: 0.918 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.001022/0.3212, allocations: 0.5723 MB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3212, allocations: 9.969 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.3212, allocations: 33.12 kB / 0.5228 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3213, allocations: 18 kB / 0.5228 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.3215, allocations: 247.6 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3216, allocations: 8.422 kB / 0.523 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3216, allocations: 9.234 kB / 0.523 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.3221, allocations: 150.1 kB / 0.5232 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3221, allocations: 0 / 0.5232 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3222, allocations: 2.062 kB / 0.5232 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3222, allocations: 5.406 kB / 0.5232 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.3229, allocations: 162.7 kB / 0.5233 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.3239, allocations: 434.1 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/0.3247, allocations: 203.4 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.3251, allocations: 89.75 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3252, allocations: 2.031 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.3258, allocations: 174.9 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.3258, allocations: 0 / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003923/0.3297, allocations: 0.8409 MB / 0.525 GB, free: 15.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.3298, allocations: 62.08 kB / 0.5251 GB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.3301, allocations: 240.4 kB / 0.5253 GB, free: 15.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3301, allocations: 32.45 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.3302, allocations: 120.4 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.3303, allocations: 37.19 kB / 0.5255 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.3304, allocations: 42.08 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3305, allocations: 328.3 kB / 0.5258 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.3313, allocations: 171.9 kB / 0.526 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.332, allocations: 174.6 kB / 0.5262 GB, free: 14.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3334, allocations: 377.6 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3334, allocations: 0.8125 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001614/0.335, allocations: 476.9 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.033e-05/0.3351, allocations: 68.12 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3351, allocations: 0.6719 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3351, allocations: 5.188 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.3356, allocations: 77.19 kB / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3356, allocations: 0 / 0.5271 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.336, allocations: 70.23 kB / 0.5272 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.3361, allocations: 7.812 kB / 0.5272 GB, free: 13.76 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.0001696/0.3363, allocations: 141 kB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.3363, allocations: 16.31 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.3379, allocations: 423.8 kB / 0.5278 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.338, allocations: 10.48 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.338, allocations: 0 / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.338, allocations: 0 / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.3399, allocations: 0.7164 MB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.34, allocations: 4 kB / 0.5285 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.3404, allocations: 71.53 kB / 0.5285 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.3404, allocations: 4.984 kB / 0.5285 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3404, allocations: 1.25 kB / 0.5286 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3404, allocations: 5 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3404, allocations: 0 / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.342, allocations: 494.2 kB / 0.529 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.3421, allocations: 97.59 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3422, allocations: 5.375 kB / 0.5291 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.3426, allocations: 65.08 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.3428, allocations: 51.06 kB / 0.5292 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3428, allocations: 3.219 kB / 0.5292 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.343, allocations: 184.5 kB / 0.5294 GB, free: 12.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3431, allocations: 0 / 0.5294 GB, free: 12.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.3434, allocations: 41.03 kB / 0.5295 GB, free: 12.19 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.003439/0.3468, allocations: 1.324 MB / 0.5307 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3485, allocations: 489.2 kB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3486, allocations: 0 / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008029/0.3494, allocations: 187.2 kB / 0.5314 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.3498, allocations: 31.7 kB / 0.5314 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.356, allocations: 2.87 MB / 0.5342 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.3565, allocations: 0.7338 MB / 0.5349 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.3566, allocations: 29.81 kB / 0.535 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3568, allocations: 54.06 kB / 0.535 GB, free: 7.992 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3568, allocations: 0 / 0.535 GB, free: 7.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3832, allocations: 5.709 MB / 0.5406 GB, free: 5.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.635, allocations: 6.359 kB / 0.5406 GB, free: 5 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)