Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.45 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.2309/0.2309, allocations: 46.12 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.002321/0.002321, allocations: 79.81 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3261, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002958/0.3291, allocations: 1.627 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.3301, allocations: 0.5393 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.3302, allocations: 1.25 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.3305, allocations: 97.3 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.3308, allocations: 107.1 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.3311, allocations: 118.2 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3312, allocations: 85.05 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.3313, allocations: 22.47 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.3314, allocations: 35.64 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.3315, allocations: 61.03 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3315, allocations: 2.031 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.3316, allocations: 45.52 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.3317, allocations: 21.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.3317, allocations: 33.53 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3319, allocations: 119.8 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.332, allocations: 4 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.332, allocations: 0 / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.332, allocations: 0 / 0.5335 GB, free: 11.23 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.0005106/0.3325, allocations: 425.1 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3325, allocations: 13.56 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3326, allocations: 32.12 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3326, allocations: 14.34 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3328, allocations: 196.6 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3328, allocations: 5.75 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3329, allocations: 11.08 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.333, allocations: 55.36 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.333, allocations: 0 / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.333, allocations: 3.984 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3331, allocations: 1.375 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3332, allocations: 36.41 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3336, allocations: 304.4 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3337, allocations: 48.42 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.3338, allocations: 17.2 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3338, allocations: 3.984 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3339, allocations: 35.88 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3339, allocations: 0 / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009251/0.3348, allocations: 247.3 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3349, allocations: 52.78 kB / 0.5349 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3351, allocations: 229.6 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3352, allocations: 27.08 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.3353, allocations: 117.6 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3353, allocations: 23.88 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.3353, allocations: 23.2 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3355, allocations: 327 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3356, allocations: 36.55 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.3357, allocations: 29.72 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.3359, allocations: 73.44 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3359, allocations: 3.984 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002408/0.3361, allocations: 121.6 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3362, allocations: 9.219 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3362, allocations: 0 / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3362, allocations: 1.094 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3363, allocations: 17.95 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3363, allocations: 3.938 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.3364, allocations: 8.062 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3364, allocations: 2.344 kB / 0.5359 GB, free: 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001177/0.3365, allocations: 129.7 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.3365, allocations: 14.23 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3369, allocations: 135.1 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3369, allocations: 1.062 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3369, allocations: 3.938 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3369, allocations: 4 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.3375, allocations: 417.7 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3375, allocations: 0 / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.3376, allocations: 22.27 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3376, allocations: 1.094 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3376, allocations: 5.219 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3376, allocations: 5.156 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3376, allocations: 8.016 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3379, allocations: 213.5 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.338, allocations: 92.77 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.338, allocations: 1.188 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.3381, allocations: 7.109 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3382, allocations: 8.188 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3382, allocations: 2.594 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.3384, allocations: 186.9 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3384, allocations: 0 / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3386, allocations: 23.92 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002157/0.3408, allocations: 1.103 MB / 0.5382 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3411, allocations: 79.89 kB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3411, allocations: 0 / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3412, allocations: 40.16 kB / 0.5383 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3416, allocations: 22.11 kB / 0.5383 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3437, allocations: 1.756 MB / 0.5401 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3441, allocations: 0.7105 MB / 0.5408 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.3442, allocations: 21.05 kB / 0.5408 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.3443, allocations: 37.52 kB / 0.5408 GB, free: 4.766 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3443, allocations: 7.938 kB / 0.5408 GB, free: 4.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3687, allocations: 3.247 MB / 0.544 GB, free: 3.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.563, allocations: 6.969 kB / 0.544 GB, free: 3.004 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_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_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1)