Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001376, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, 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.2389/0.2389, allocations: 46.11 MB / 344.3 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.002232/0.002232, allocations: 84.08 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3302, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003243/0.3334, allocations: 1.597 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3352, allocations: 1.156 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3353, allocations: 1.375 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3355, allocations: 27.95 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.3358, allocations: 89.67 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.3361, allocations: 86.97 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3362, allocations: 66 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.3363, allocations: 14.81 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.3364, allocations: 29.48 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3365, allocations: 30.84 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3366, allocations: 4.125 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3367, allocations: 98.8 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.3368, allocations: 16.05 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3369, allocations: 27.94 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.3371, allocations: 142.8 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3371, allocations: 0 / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3371, allocations: 0 / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3371, allocations: 0 / 0.5339 GB, free: 10.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005375/0.3377, allocations: 399.6 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3377, allocations: 9.812 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.3378, allocations: 35.94 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3378, allocations: 9.078 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3381, allocations: 196.7 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3381, allocations: 1.875 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3381, allocations: 5.703 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3383, allocations: 68.34 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3383, allocations: 3.984 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3383, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3383, allocations: 5.156 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3384, allocations: 25.03 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3388, allocations: 279.1 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.339, allocations: 48 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.3391, allocations: 15.53 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.3391, allocations: 0 / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3391, allocations: 35.69 kB / 0.535 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3391, allocations: 1.094 kB / 0.535 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005643/0.3397, allocations: 141.1 kB / 0.5351 GB, free: 9.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3398, allocations: 78.27 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.34, allocations: 147.5 kB / 0.5354 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.34, allocations: 26.86 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.3401, allocations: 98.77 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3401, allocations: 18.06 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3401, allocations: 18.25 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3403, allocations: 325.1 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.3404, allocations: 22.2 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.3405, allocations: 31.67 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3406, allocations: 51.8 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3406, allocations: 0 / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.3408, allocations: 80.62 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3408, allocations: 9.25 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3408, allocations: 0 / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3409, allocations: 1.188 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.3409, allocations: 18.27 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3409, allocations: 0 / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.341, allocations: 8.031 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.341, allocations: 1.375 kB / 0.536 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 (5): * Single equations (assignments): 5 * 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 9.958e-05/0.3411, allocations: 117.8 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3412, allocations: 11.48 kB / 0.5362 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3414, allocations: 88.69 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3414, allocations: 1.344 kB / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3414, allocations: 0 / 0.5362 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3414, allocations: 3.938 kB / 0.5362 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.3419, allocations: 346.5 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3419, allocations: 3.938 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.342, allocations: 17.61 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.342, allocations: 1.375 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.342, allocations: 3.938 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.342, allocations: 1.562 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.342, allocations: 4 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3423, allocations: 180.4 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3423, allocations: 86.44 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3424, allocations: 9.312 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.3424, allocations: 6.734 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3425, allocations: 2.75 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3425, allocations: 1.375 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.3426, allocations: 114.5 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3426, allocations: 0 / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.3429, allocations: 39.23 kB / 0.537 GB, free: 7.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00222/0.3451, allocations: 1.106 MB / 0.5381 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3453, allocations: 47.19 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3454, allocations: 1.094 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.3454, allocations: 26.86 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3458, allocations: 26.56 kB / 0.5382 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3476, allocations: 1.424 MB / 0.5396 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3479, allocations: 0.6927 MB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.348, allocations: 26.8 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.3481, allocations: 26.42 kB / 0.5403 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3481, allocations: 1.094 kB / 0.5403 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.3751, allocations: 3.23 MB / 0.5435 GB, free: 2.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.544, allocations: 3.094 kB / 0.5435 GB, free: 2.938 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1)