Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, 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.001343/0.001343, allocations: 201.2 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.431/1.431, 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.2423/0.2423, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002217/0.002217, allocations: 83.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3213, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003159/0.3245, allocations: 1.664 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3264, allocations: 1.203 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.3265, allocations: 1.219 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3267, allocations: 29.38 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.327, allocations: 86.75 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3275, allocations: 174.9 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3276, allocations: 79.44 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3278, allocations: 13.62 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.3278, allocations: 40.16 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.328, allocations: 36.22 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.328, allocations: 8.125 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3282, allocations: 97.55 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.3283, allocations: 25.36 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.3283, allocations: 30.67 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.3286, allocations: 154.2 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3286, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3286, allocations: 1.375 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3286, allocations: 0 / 0.5342 GB, free: 10.65 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.0005872/0.3292, allocations: 423.7 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3293, allocations: 13.62 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.3293, allocations: 40.05 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3294, allocations: 9.016 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3296, allocations: 199.2 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3296, allocations: 1.75 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3296, allocations: 1.75 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3298, allocations: 91.86 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3299, allocations: 3.984 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3299, allocations: 4 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3299, allocations: 1.375 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.33, allocations: 39.28 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3305, allocations: 314.7 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3306, allocations: 52.8 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.3307, allocations: 25.22 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3307, allocations: 0.8438 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3308, allocations: 35.59 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3308, allocations: 0 / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007912/0.3316, allocations: 235.3 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3316, allocations: 78.2 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3318, allocations: 163.9 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3319, allocations: 30.73 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.3319, allocations: 99.53 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.332, allocations: 27.03 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.332, allocations: 24.41 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3322, allocations: 321.2 kB / 0.5363 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3323, allocations: 36.88 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3324, allocations: 58.64 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3327, allocations: 91.17 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3327, allocations: 0 / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003166/0.333, allocations: 124.5 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.333, allocations: 7.219 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3331, allocations: 1.375 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3331, allocations: 0 / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3332, allocations: 23.45 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3332, allocations: 0 / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.3333, allocations: 14.77 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3333, allocations: 1.25 kB / 0.5366 GB, free: 8.363 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.0001026/0.3334, allocations: 123.9 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3335, allocations: 12.84 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.3338, allocations: 143.5 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3338, allocations: 0 / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3338, allocations: 1.312 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3338, allocations: 7.875 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3344, allocations: 423.5 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3345, allocations: 0 / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.3345, allocations: 26.77 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3346, allocations: 1.312 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3346, allocations: 5.062 kB / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3346, allocations: 0 / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3346, allocations: 0 / 0.5374 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.3349, allocations: 225.2 kB / 0.5376 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.335, allocations: 87.64 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.335, allocations: 9.062 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.3351, allocations: 9.609 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3352, allocations: 3.25 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3352, allocations: 2.281 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3353, allocations: 118.6 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3353, allocations: 1.062 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3356, allocations: 46.7 kB / 0.5378 GB, free: 7.312 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.002332/0.338, allocations: 1.147 MB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.3383, allocations: 99.91 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3383, allocations: 1.031 kB / 0.5391 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3385, allocations: 43.97 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3388, allocations: 20.33 kB / 0.5391 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.341, allocations: 1.639 MB / 0.5407 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3414, allocations: 0.7032 MB / 0.5414 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.466e-05/0.3415, allocations: 27.09 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.3416, allocations: 31.48 kB / 0.5415 GB, free: 4.195 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3416, allocations: 0 / 0.5415 GB, free: 4.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.3682, allocations: 3.617 MB / 0.545 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.437, allocations: 3.172 kB / 0.545 GB, free: 2.16 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32_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_CombiTable2Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)