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.001762/0.001762, allocations: 117.2 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.002021/0.002021, allocations: 185 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2129/0.2129, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3556, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002859/0.3585, allocations: 1.816 MB / 0.5202 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3597, allocations: 0.8604 MB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3597, allocations: 1.344 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.36, allocations: 56.52 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.3602, allocations: 78.64 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3606, allocations: 168.5 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.3609, allocations: 183.9 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.361, allocations: 25.84 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3612, allocations: 83.72 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3613, allocations: 100.9 kB / 0.5217 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3614, allocations: 12.34 kB / 0.5218 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3615, allocations: 45.3 kB / 0.5218 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3616, allocations: 47.14 kB / 0.5218 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.3617, allocations: 70.94 kB / 0.5219 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3619, allocations: 184.5 kB / 0.5221 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.362, allocations: 0 / 0.5221 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.362, allocations: 0 / 0.5221 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.362, allocations: 1.406 kB / 0.5221 GB, free: 0.9609 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.001005/0.363, allocations: 0.575 MB / 0.5226 GB, free: 460 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.363, allocations: 13.91 kB / 0.5227 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.363, allocations: 37.81 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.3631, allocations: 17.66 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3633, allocations: 234.3 kB / 0.5229 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3633, allocations: 4.609 kB / 0.5229 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3634, allocations: 12.69 kB / 0.523 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.3639, allocations: 135.4 kB / 0.5231 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3639, allocations: 8.594 kB / 0.5231 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3639, allocations: 5.062 kB / 0.5231 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3639, allocations: 2.016 kB / 0.5231 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.3646, allocations: 161 kB / 0.5232 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.3653, allocations: 372.7 kB / 0.5236 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.3661, allocations: 193 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.3665, allocations: 94.83 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3665, allocations: 2.844 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006112/0.3671, allocations: 160.1 kB / 0.524 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3671, allocations: 1.312 kB / 0.524 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003731/0.3709, allocations: 0.8248 MB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3709, allocations: 59.55 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3712, allocations: 241.4 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3712, allocations: 32.45 kB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3714, allocations: 124.3 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3714, allocations: 41.33 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.3715, allocations: 32.7 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3717, allocations: 336.3 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.3724, allocations: 165.2 kB / 0.5258 GB, free: 14.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.3731, allocations: 164.9 kB / 0.526 GB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.3745, allocations: 363.7 kB / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3745, allocations: 0 / 0.5263 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001582/0.3761, allocations: 461.2 kB / 0.5268 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.3761, allocations: 62.52 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3762, allocations: 0 / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3762, allocations: 5.5 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.3766, allocations: 70.97 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3766, allocations: 1.438 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.377, allocations: 61.97 kB / 0.527 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.377, allocations: 8.125 kB / 0.527 GB, free: 13.9 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.0001636/0.3772, allocations: 139.5 kB / 0.5271 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.3772, allocations: 20.11 kB / 0.5271 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.3788, allocations: 398 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3788, allocations: 9.656 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3788, allocations: 0 / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3788, allocations: 5.422 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.3807, allocations: 0.7015 MB / 0.5282 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3807, allocations: 0 / 0.5282 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.3811, allocations: 79.47 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3811, allocations: 5.219 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3811, allocations: 1.375 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3811, allocations: 0 / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3811, allocations: 1.281 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3827, allocations: 483 kB / 0.5287 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.3828, allocations: 97.59 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3828, allocations: 5.469 kB / 0.5288 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.3832, allocations: 65.95 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.3834, allocations: 50.19 kB / 0.529 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3834, allocations: 3.094 kB / 0.529 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3836, allocations: 179.4 kB / 0.5291 GB, free: 12.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3836, allocations: 288 / 0.5291 GB, free: 12.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.3839, allocations: 41.56 kB / 0.5292 GB, free: 12.35 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.003333/0.3873, allocations: 1.318 MB / 0.5305 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3889, allocations: 467.2 kB / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3889, allocations: 0 / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.3897, allocations: 173 kB / 0.5311 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.3901, allocations: 38.34 kB / 0.5311 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.3965, allocations: 2.809 MB / 0.5338 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3969, allocations: 0.7282 MB / 0.5346 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.3971, allocations: 23.78 kB / 0.5346 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3972, allocations: 49.83 kB / 0.5346 GB, free: 8.207 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3972, allocations: 0 / 0.5346 GB, free: 8.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.427, allocations: 5.64 MB / 0.5401 GB, free: 5.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.39, allocations: 14.53 kB / 0.5402 GB, free: 5.234 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)