Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.246/0.246, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.372, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003227/0.3753, allocations: 1.691 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3766, allocations: 0.5695 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.3767, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3769, allocations: 54.98 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3773, allocations: 90.97 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.3778, allocations: 188.9 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.378, allocations: 93.62 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3781, allocations: 26.25 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.245e-05/0.3782, allocations: 30.58 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3783, allocations: 51.25 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.3783, allocations: 4.469 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3785, allocations: 44.36 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.3785, allocations: 24.91 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.3786, allocations: 38.66 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3789, allocations: 126.5 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3789, allocations: 1.094 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3789, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3789, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006011/0.3795, allocations: 420 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3795, allocations: 10.47 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3796, allocations: 34.75 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3796, allocations: 14.12 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.3799, allocations: 205.4 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3799, allocations: 5.344 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3799, allocations: 12.31 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3801, allocations: 65.02 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3801, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3801, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3802, allocations: 1.844 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3803, allocations: 49.41 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3808, allocations: 331.7 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3811, allocations: 56.77 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.3812, allocations: 26.09 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3812, allocations: 1.375 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3812, allocations: 46.53 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3812, allocations: 1.375 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001487/0.3827, allocations: 425.2 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3828, allocations: 52.78 kB / 0.5353 GB, free: 9.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.383, allocations: 175.9 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.383, allocations: 37.69 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.3831, allocations: 101.6 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3832, allocations: 45.12 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.3832, allocations: 33.89 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3834, allocations: 322.1 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3835, allocations: 47.94 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3837, allocations: 61.95 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.384, allocations: 127.9 kB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.384, allocations: 0 / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003648/0.3844, allocations: 160.2 kB / 0.5363 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3844, allocations: 12.59 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3844, allocations: 0 / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3844, allocations: 4.906 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3845, allocations: 24.2 kB / 0.5364 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3846, allocations: 5.141 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.3846, allocations: 9.844 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3846, allocations: 2.438 kB / 0.5364 GB, free: 8.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001195/0.3848, allocations: 131.8 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3848, allocations: 17.53 kB / 0.5365 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.3853, allocations: 194.7 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3853, allocations: 5.125 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3853, allocations: 0 / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3853, allocations: 1.25 kB / 0.5367 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.3861, allocations: 0.5008 MB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3861, allocations: 1.156 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3862, allocations: 27.77 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3862, allocations: 1.281 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3863, allocations: 2.344 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3863, allocations: 1.281 kB / 0.5372 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.3863, allocations: 9.047 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.3867, allocations: 273.6 kB / 0.5375 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.3868, allocations: 96.53 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3868, allocations: 2.125 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3869, allocations: 15.23 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.387, allocations: 15.67 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.387, allocations: 3.625 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3871, allocations: 141.2 kB / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3871, allocations: 96 / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.3874, allocations: 34.58 kB / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002308/0.3897, allocations: 1.15 MB / 0.5389 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.3902, allocations: 136.2 kB / 0.539 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3902, allocations: 0 / 0.539 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3904, allocations: 71.2 kB / 0.5391 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3908, allocations: 16.53 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.3934, allocations: 1.901 MB / 0.541 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3938, allocations: 0.7104 MB / 0.5417 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.593e-05/0.3939, allocations: 32 kB / 0.5417 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.394, allocations: 42.83 kB / 0.5418 GB, free: 4.234 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.394, allocations: 1.438 kB / 0.5418 GB, free: 4.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.4201, allocations: 3.468 MB / 0.5451 GB, free: 2.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.465, allocations: 6.234 kB / 0.5451 GB, free: 2.359 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1)