Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001786/0.001786, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 201.2 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.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.43 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.2288/0.2288, 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.002272/0.002272, allocations: 80.16 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3297, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003588/0.3333, allocations: 1.627 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3344, allocations: 0.5325 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.3345, allocations: 0 / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.3348, allocations: 98.39 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3352, allocations: 106.9 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3355, allocations: 95 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3357, allocations: 81.62 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3359, allocations: 20.2 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.3359, allocations: 32.78 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3361, allocations: 63.31 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3361, allocations: 3.344 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3362, allocations: 44.62 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.3363, allocations: 24.48 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.3363, allocations: 34.41 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.3366, allocations: 114 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3366, allocations: 0 / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3366, allocations: 5.219 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3366, allocations: 0 / 0.5334 GB, free: 11.3 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.0005961/0.3372, allocations: 422.4 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3373, allocations: 8.156 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.3373, allocations: 35.8 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.3374, allocations: 14.81 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3376, allocations: 201.4 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3376, allocations: 4.375 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3377, allocations: 6.422 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3378, allocations: 54.88 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3378, allocations: 3.984 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3379, allocations: 5.906 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3379, allocations: 3.938 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.338, allocations: 28.11 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3384, allocations: 291.2 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3385, allocations: 47.22 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.3386, allocations: 20.28 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3386, allocations: 5.281 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3386, allocations: 32 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.229e-05/0.3387, allocations: 3.984 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009343/0.3396, allocations: 237.5 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3397, allocations: 52.78 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.3399, allocations: 231 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.34, allocations: 25.7 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.3401, allocations: 110.9 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3401, allocations: 30.5 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.3402, allocations: 23.2 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3403, allocations: 327 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.3404, allocations: 25.73 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.3405, allocations: 27.11 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3406, allocations: 64.39 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3407, allocations: 4 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002283/0.3409, allocations: 100.2 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3409, allocations: 9.484 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3409, allocations: 0 / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.341, allocations: 0 / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.3411, allocations: 14.62 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3411, allocations: 8.234 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.3411, allocations: 7.25 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3411, allocations: 2.156 kB / 0.5358 GB, free: 9.102 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.0001089/0.3413, allocations: 134.6 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.3413, allocations: 13.33 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.3416, allocations: 120.6 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3416, allocations: 1.344 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3416, allocations: 3.938 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3416, allocations: 1.438 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.3422, allocations: 407.4 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3422, allocations: 1.281 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.3423, allocations: 22.2 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3423, allocations: 0 / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3423, allocations: 6.188 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3423, allocations: 1.531 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3423, allocations: 0 / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3426, allocations: 208.9 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.3427, allocations: 95.33 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3427, allocations: 6.031 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.3428, allocations: 3.375 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3428, allocations: 7.422 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.3428, allocations: 2.344 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.343, allocations: 187.7 kB / 0.537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.343, allocations: 0 / 0.537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3433, allocations: 25.44 kB / 0.537 GB, free: 8.039 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.002128/0.3454, allocations: 1.09 MB / 0.5381 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3456, allocations: 65.83 kB / 0.5381 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3456, allocations: 4 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.3457, allocations: 38.31 kB / 0.5382 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3461, allocations: 27.83 kB / 0.5382 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3481, allocations: 1.7 MB / 0.5399 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3485, allocations: 0.7119 MB / 0.5406 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.3486, allocations: 8.672 kB / 0.5406 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3486, allocations: 37.33 kB / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3486, allocations: 0 / 0.5406 GB, free: 4.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3727, allocations: 3.207 MB / 0.5437 GB, free: 3.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.624, allocations: 13.89 kB / 0.5437 GB, free: 3.18 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)