Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 121.8 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.002025/0.002025, 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.541/1.541, allocations: 227.4 MB / 247 MB, free: 10.42 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.2257/0.2257, 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.002214/0.002214, allocations: 83.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3692, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003187/0.3725, allocations: 1.684 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3736, allocations: 0.5682 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.3736, allocations: 5.156 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.3739, allocations: 71.2 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3742, allocations: 105.3 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3746, allocations: 185.5 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3748, allocations: 96.05 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3749, allocations: 19.47 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.375, allocations: 44.95 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3751, allocations: 50.58 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3751, allocations: 11.91 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3753, allocations: 57 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.3753, allocations: 26.91 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.3754, allocations: 38.56 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3756, allocations: 123.1 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3756, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3756, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3756, allocations: 0 / 0.5336 GB, free: 11.12 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.000565/0.3762, allocations: 443.6 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3762, allocations: 17.61 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.3763, allocations: 32.12 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3763, allocations: 14.34 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3766, allocations: 209.8 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.3766, allocations: 1.75 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3766, allocations: 4.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3768, allocations: 76.78 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3768, allocations: 0 / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.3768, allocations: 1.375 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3768, allocations: 4 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.377, allocations: 46.08 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.3774, allocations: 325.9 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.3777, allocations: 64.69 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.3778, allocations: 34.7 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3778, allocations: 5.359 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.3779, allocations: 34.56 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3779, allocations: 1.375 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001537/0.3794, allocations: 434.6 kB / 0.5353 GB, free: 9.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3795, allocations: 56.83 kB / 0.5354 GB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.3797, allocations: 214.4 kB / 0.5356 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3797, allocations: 30.8 kB / 0.5356 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.3798, allocations: 106.9 kB / 0.5357 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.3799, allocations: 40.12 kB / 0.5357 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.3799, allocations: 29.33 kB / 0.5358 GB, free: 9.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3801, allocations: 327.6 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3802, allocations: 56.77 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3804, allocations: 53.59 kB / 0.5362 GB, free: 8.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.3807, allocations: 119.2 kB / 0.5363 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3807, allocations: 4 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000354/0.3811, allocations: 174 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3811, allocations: 6.125 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3811, allocations: 0 / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3811, allocations: 3.938 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3812, allocations: 32.22 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3812, allocations: 1.406 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.3813, allocations: 10.5 kB / 0.5365 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3813, allocations: 6.859 kB / 0.5365 GB, free: 8.664 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.0001104/0.3815, allocations: 130.7 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.3815, allocations: 14.16 kB / 0.5367 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.3819, allocations: 187.3 kB / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.382, allocations: 6.062 kB / 0.5368 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.382, allocations: 4 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.382, allocations: 3.984 kB / 0.5369 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.3827, allocations: 0.5056 MB / 0.5373 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3827, allocations: 3.984 kB / 0.5374 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3829, allocations: 33.45 kB / 0.5374 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3829, allocations: 1.125 kB / 0.5374 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3829, allocations: 6.156 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3829, allocations: 1.188 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3829, allocations: 1.094 kB / 0.5374 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.3833, allocations: 281.5 kB / 0.5377 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3834, allocations: 93.97 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3834, allocations: 5.156 kB / 0.5378 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3835, allocations: 10.58 kB / 0.5378 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3836, allocations: 5.312 kB / 0.5378 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3836, allocations: 10.45 kB / 0.5378 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.3838, allocations: 166.2 kB / 0.5379 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3838, allocations: 7.938 kB / 0.5379 GB, free: 7.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.384, allocations: 27.97 kB / 0.538 GB, free: 7.461 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.002275/0.3863, allocations: 1.164 MB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3867, allocations: 132.2 kB / 0.5392 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3867, allocations: 0 / 0.5392 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3869, allocations: 71.8 kB / 0.5393 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3873, allocations: 23.61 kB / 0.5393 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3899, allocations: 1.971 MB / 0.5413 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3903, allocations: 0.7267 MB / 0.542 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3904, allocations: 31.67 kB / 0.542 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.3905, allocations: 43.64 kB / 0.542 GB, free: 4.09 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3905, allocations: 7.938 kB / 0.542 GB, free: 4.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.4146, allocations: 3.637 MB / 0.5456 GB, free: 2.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.389, allocations: 8.125 kB / 0.5456 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_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_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1)