Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 121.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.001754/0.001754, allocations: 204.6 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.563/1.563, allocations: 227.4 MB / 247 MB, free: 10.46 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.2239/0.2239, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002283/0.002283, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3382, allocations: 62.46 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003048/0.3413, allocations: 1.676 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3423, allocations: 0.5802 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.3424, allocations: 3.594 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.3426, allocations: 57.44 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.3429, allocations: 92.61 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3434, allocations: 189.5 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3435, allocations: 90.06 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3436, allocations: 24.09 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.3437, allocations: 34.94 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3438, allocations: 57.59 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3438, allocations: 8.344 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.344, allocations: 49.14 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.344, allocations: 20.52 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.3441, allocations: 42.58 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3443, allocations: 118.1 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3443, allocations: 4 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3443, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3443, allocations: 0 / 0.5336 GB, free: 11.13 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.0005717/0.3449, allocations: 441.4 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3449, allocations: 10.03 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.345, allocations: 35.78 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.345, allocations: 10.8 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3453, allocations: 214.2 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3453, allocations: 1.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3453, allocations: 7.109 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3455, allocations: 69.17 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3455, allocations: 0 / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3455, allocations: 5.062 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3455, allocations: 1.094 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3457, allocations: 48.48 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3462, allocations: 326.3 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3464, allocations: 64.64 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.3465, allocations: 30.36 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3465, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3466, allocations: 31.81 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3466, allocations: 0 / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00166/0.3482, allocations: 439 kB / 0.5353 GB, free: 9.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3483, allocations: 52.78 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3485, allocations: 202.9 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3485, allocations: 27.08 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.3486, allocations: 109.6 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.3487, allocations: 35.81 kB / 0.5357 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.3487, allocations: 25.97 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3489, allocations: 327 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3491, allocations: 52.36 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3492, allocations: 57.7 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.3495, allocations: 131.4 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3495, allocations: 0 / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003654/0.3499, allocations: 165.2 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3499, allocations: 9.328 kB / 0.5364 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.35, allocations: 0 / 0.5364 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.35, allocations: 5.25 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3501, allocations: 28.61 kB / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3501, allocations: 0 / 0.5364 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.3502, allocations: 15.08 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3502, allocations: 2.188 kB / 0.5364 GB, free: 8.703 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.0001224/0.3503, allocations: 133 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3504, allocations: 14.72 kB / 0.5366 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.3508, allocations: 195 kB / 0.5368 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3509, allocations: 10.19 kB / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3509, allocations: 0 / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3509, allocations: 0 / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.3517, allocations: 0.4994 MB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3517, allocations: 1.219 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3518, allocations: 32.12 kB / 0.5373 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3519, allocations: 1.094 kB / 0.5373 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3519, allocations: 6.031 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3519, allocations: 2.031 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3519, allocations: 192 / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3524, allocations: 289.3 kB / 0.5376 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.3525, allocations: 93.41 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3525, allocations: 5.969 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3526, allocations: 13.95 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3527, allocations: 9.141 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3527, allocations: 3.844 kB / 0.5377 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3528, allocations: 161.4 kB / 0.5379 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3528, allocations: 0 / 0.5379 GB, free: 7.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3531, allocations: 22.56 kB / 0.5379 GB, free: 7.5 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.002388/0.3555, allocations: 1.15 MB / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.3559, allocations: 133.2 kB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3559, allocations: 0 / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.3561, allocations: 75.42 kB / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3565, allocations: 22.83 kB / 0.5392 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.3595, allocations: 1.935 MB / 0.5411 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.36, allocations: 0.7237 MB / 0.5418 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.3601, allocations: 31.45 kB / 0.5419 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3603, allocations: 43.17 kB / 0.5419 GB, free: 4.152 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3603, allocations: 0 / 0.5419 GB, free: 4.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.3874, allocations: 3.539 MB / 0.5453 GB, free: 2.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.44, allocations: 12.25 kB / 0.5454 GB, free: 2.254 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_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_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1)