Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, 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.001407/0.001407, 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.443/1.443, 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.2349/0.2349, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002315/0.002315, allocations: 80.09 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3581, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003268/0.3614, allocations: 1.667 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3625, allocations: 0.5518 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.3626, allocations: 1.156 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.3632, allocations: 457.4 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.3637, allocations: 291.6 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3641, allocations: 126.7 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3644, allocations: 177.1 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3645, allocations: 14.88 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3646, allocations: 110.9 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.3649, allocations: 222.9 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3649, allocations: 4.188 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.365, allocations: 37.61 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3651, allocations: 86.45 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/0.3652, allocations: 104 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.3656, allocations: 269.8 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3656, allocations: 1.156 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3656, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3656, allocations: 0 / 0.5346 GB, free: 10.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008435/0.3664, allocations: 0.6741 MB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3665, allocations: 10.31 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.3665, allocations: 35.88 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.3666, allocations: 42.53 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.367, allocations: 308.5 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.367, allocations: 5.312 kB / 0.5357 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.367, allocations: 3.219 kB / 0.5357 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3672, allocations: 56.73 kB / 0.5357 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3672, allocations: 4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3672, allocations: 1.281 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3672, allocations: 1.594 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3674, allocations: 38.97 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3679, allocations: 392.2 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3681, allocations: 39.53 kB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.3682, allocations: 29.58 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.3682, allocations: 12 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3683, allocations: 35.5 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3683, allocations: 0 / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008811/0.3692, allocations: 293.3 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3692, allocations: 52.69 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.3702, allocations: 0.8738 MB / 0.5374 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3702, allocations: 34.7 kB / 0.5375 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.3705, allocations: 216.8 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3705, allocations: 22.16 kB / 0.5377 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3705, allocations: 22.55 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3707, allocations: 361 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3709, allocations: 34.53 kB / 0.5381 GB, free: 7.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.371, allocations: 34.91 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.3712, allocations: 67.81 kB / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3712, allocations: 0 / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003583/0.3716, allocations: 157.5 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3716, allocations: 9.766 kB / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3716, allocations: 0 / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3716, allocations: 5.625 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3718, allocations: 18.14 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3718, allocations: 320 / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.3719, allocations: 15.14 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3719, allocations: 5.688 kB / 0.5384 GB, free: 7.695 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 (7): * Single equations (assignments): 7 * 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.0002436/0.3721, allocations: 209.8 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3722, allocations: 42.16 kB / 0.5386 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.3726, allocations: 178.2 kB / 0.5388 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3726, allocations: 0 / 0.5388 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3726, allocations: 1.031 kB / 0.5388 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3727, allocations: 11.92 kB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.3734, allocations: 0.492 MB / 0.5393 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3734, allocations: 4.984 kB / 0.5393 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.3735, allocations: 22.7 kB / 0.5393 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3735, allocations: 1.031 kB / 0.5393 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3736, allocations: 5 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3736, allocations: 0 / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3736, allocations: 5.156 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.3739, allocations: 236.1 kB / 0.5395 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.374, allocations: 115.1 kB / 0.5397 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3741, allocations: 13.19 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3742, allocations: 13.83 kB / 0.5397 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3742, allocations: 2.812 kB / 0.5397 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3743, allocations: 1.438 kB / 0.5397 GB, free: 6.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.375, allocations: 0.6582 MB / 0.5403 GB, free: 6.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.375, allocations: 3.938 kB / 0.5403 GB, free: 6.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3753, allocations: 24.97 kB / 0.5404 GB, free: 6.301 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.002057/0.3773, allocations: 1.08 MB / 0.5414 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3776, allocations: 82.67 kB / 0.5415 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3777, allocations: 0 / 0.5415 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3778, allocations: 44.84 kB / 0.5415 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3782, allocations: 29.83 kB / 0.5416 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.3826, allocations: 3.329 MB / 0.5448 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3831, allocations: 0.8299 MB / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.3832, allocations: 12.66 kB / 0.5456 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3834, allocations: 107.4 kB / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3834, allocations: 0 / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.4139, allocations: 6.189 MB / 0.5518 GB, free: 11.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9.194, allocations: 1.969 kB / 0.5518 GB, free: 11.79 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1)