Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, 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.001361/0.001361, 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.448/1.448, 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.2332/0.2332, 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.00235/0.00235, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3291, allocations: 62.46 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002902/0.332, allocations: 1.622 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.333, allocations: 0.5342 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.3331, allocations: 0 / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3334, allocations: 118.4 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.3338, allocations: 135.2 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.334, allocations: 99.72 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3342, allocations: 92.09 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.3343, allocations: 20.91 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.3344, allocations: 45.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3345, allocations: 90.66 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3346, allocations: 6.75 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.3347, allocations: 40.86 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.3347, allocations: 28.23 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.3348, allocations: 37.17 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.335, allocations: 123.2 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.335, allocations: 1.375 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.335, allocations: 0 / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.335, 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.0005387/0.3356, allocations: 452.7 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3356, allocations: 13.62 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.3357, allocations: 32.12 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3357, allocations: 15.72 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3359, allocations: 209.6 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3359, allocations: 5.75 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.336, allocations: 3.125 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3361, allocations: 57.97 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3361, allocations: 3.984 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3362, allocations: 9.312 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3362, allocations: 0 / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.3363, allocations: 31.09 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.3367, allocations: 296.5 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3368, allocations: 41.62 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.3368, allocations: 21.19 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3369, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3369, allocations: 34.56 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3369, allocations: 0 / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000912/0.3378, allocations: 236.9 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.3379, allocations: 56.69 kB / 0.535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3382, allocations: 282 kB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3383, allocations: 27.05 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.3384, allocations: 115.1 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3384, allocations: 27 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3384, allocations: 24.45 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3386, allocations: 323.5 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.3387, allocations: 29.3 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.3388, allocations: 26.88 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.339, allocations: 59.38 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.339, allocations: 1.094 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.3392, allocations: 109 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3392, allocations: 4.531 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3392, allocations: 1.031 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3393, allocations: 7.938 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3394, allocations: 18.42 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3394, allocations: 5.031 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.3394, allocations: 6.297 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3394, allocations: 2.281 kB / 0.536 GB, free: 8.969 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.0001261/0.3396, allocations: 137.9 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.3396, allocations: 14.81 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.3399, allocations: 135 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3399, allocations: 1.188 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3399, allocations: 3.938 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3399, allocations: 0 / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.3405, allocations: 420.1 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3405, allocations: 0.9062 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3406, allocations: 25.25 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3406, allocations: 1.125 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3406, allocations: 5.328 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3406, allocations: 1.344 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3406, allocations: 1.406 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3409, allocations: 204.5 kB / 0.5369 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.341, allocations: 96.86 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.341, allocations: 1.25 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3411, allocations: 4.062 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3411, allocations: 15.5 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3411, allocations: 6.125 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3414, allocations: 209.4 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3414, allocations: 0 / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.3416, allocations: 18.12 kB / 0.5373 GB, free: 7.891 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.002224/0.3438, allocations: 1.092 MB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3441, allocations: 70.56 kB / 0.5384 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3441, allocations: 0 / 0.5384 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.3442, allocations: 34.14 kB / 0.5384 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3446, allocations: 26.42 kB / 0.5385 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3468, allocations: 1.799 MB / 0.5402 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3472, allocations: 0.7202 MB / 0.5409 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.3473, allocations: 12.44 kB / 0.5409 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3474, allocations: 41.05 kB / 0.541 GB, free: 4.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.464e-06/0.3474, allocations: 0 / 0.541 GB, free: 4.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3767, allocations: 3.404 MB / 0.5443 GB, free: 2.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.713, allocations: 12.14 kB / 0.5443 GB, free: 2.883 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1)