Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, 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.00134/0.00134, 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.456/1.456, 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.2235/0.2235, 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.002304/0.002304, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003353/0.3322, allocations: 1.629 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3333, allocations: 0.5253 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.3334, allocations: 1.375 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.3338, allocations: 82.12 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3341, allocations: 105.3 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3344, allocations: 94.78 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.3346, allocations: 84.98 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3348, allocations: 11.47 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.3348, allocations: 36.91 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.335, allocations: 67.44 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.335, allocations: 2.594 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3351, allocations: 49.66 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3352, allocations: 19.67 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.3352, allocations: 29.34 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3354, allocations: 108.3 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3355, allocations: 1.156 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.3355, allocations: 0 / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3355, allocations: 3.938 kB / 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.000649/0.3361, allocations: 419.4 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3362, allocations: 9.969 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.3362, allocations: 31.84 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3363, allocations: 13.84 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3365, allocations: 208.5 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3365, allocations: 1.844 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3365, allocations: 7.125 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3367, allocations: 54.3 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3367, allocations: 3.938 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3367, allocations: 5.719 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3367, allocations: 0 / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.3368, allocations: 35.38 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3372, allocations: 287.2 kB / 0.5344 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3374, allocations: 46.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.3374, allocations: 24.48 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3374, allocations: 1.125 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3375, allocations: 31.72 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3375, allocations: 0 / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009158/0.3384, allocations: 234.2 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3385, allocations: 52.78 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3387, allocations: 213.8 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3387, allocations: 27.08 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.3388, allocations: 109.6 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.3389, allocations: 26.48 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3389, allocations: 19.22 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3392, allocations: 331 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.3393, allocations: 21.73 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.3393, allocations: 27.09 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.3395, allocations: 67.02 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3395, allocations: 0 / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.3397, allocations: 96.23 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3397, allocations: 9.5 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3398, allocations: 0 / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3398, allocations: 5.312 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3399, allocations: 17.73 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3399, allocations: 5.625 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.34, allocations: 10.73 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.34, allocations: 6.688 kB / 0.5357 GB, free: 9.109 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.0001017/0.3401, allocations: 119.5 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.3401, allocations: 21.39 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3404, allocations: 116 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3404, allocations: 1.094 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3404, allocations: 11.86 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3404, allocations: 1.031 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.341, allocations: 402.6 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.341, allocations: 5.094 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.3411, allocations: 25.11 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3411, allocations: 1.125 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3411, allocations: 5.188 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3411, allocations: 1.25 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3411, allocations: 1.25 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3414, allocations: 199.8 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.3415, allocations: 93.08 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3415, allocations: 1.188 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3416, allocations: 11.73 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3417, allocations: 6.375 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3417, allocations: 6.562 kB / 0.5367 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3418, allocations: 163.2 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3418, allocations: 0 / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3421, allocations: 31.05 kB / 0.5369 GB, free: 8.059 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.002285/0.3444, allocations: 1.08 MB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.3446, allocations: 66.23 kB / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3447, allocations: 0 / 0.538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.3448, allocations: 46.39 kB / 0.5381 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3451, allocations: 18.22 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3472, allocations: 1.672 MB / 0.5397 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3476, allocations: 0.7079 MB / 0.5404 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.3476, allocations: 11.28 kB / 0.5404 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.3477, allocations: 37.67 kB / 0.5405 GB, free: 4.965 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3477, allocations: 0 / 0.5405 GB, free: 4.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.3729, allocations: 3.112 MB / 0.5435 GB, free: 3.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.499, allocations: 21.12 kB / 0.5435 GB, free: 3.262 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1)