Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 199.9 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.555/1.555, allocations: 227.4 MB / 247 MB, free: 10.42 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.242/0.242, allocations: 46.12 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.002321/0.002321, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3254, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003381/0.3288, allocations: 1.594 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3307, allocations: 1.165 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.3307, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.331, allocations: 16.95 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.3313, allocations: 86.48 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.3315, allocations: 97.62 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.3317, allocations: 59.34 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3318, allocations: 13.42 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.3319, allocations: 34.86 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.332, allocations: 29.47 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3321, allocations: 4.125 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.3322, allocations: 100.2 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.3323, allocations: 14.62 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.3324, allocations: 31.97 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.3326, allocations: 135.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3326, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3326, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3326, allocations: 0 / 0.5339 GB, free: 10.81 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.0005426/0.3332, allocations: 403.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3332, allocations: 13.56 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.3333, allocations: 36.06 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3333, allocations: 13.02 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3336, allocations: 196.4 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.3336, allocations: 1.75 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3336, allocations: 1.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3338, allocations: 71.7 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3338, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3338, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3338, allocations: 5.312 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.3339, allocations: 24.3 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.3343, allocations: 274.8 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3345, allocations: 48.44 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.3345, allocations: 11.73 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3346, allocations: 4.078 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3346, allocations: 35.88 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3346, allocations: 0 / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005625/0.3352, allocations: 142 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.3353, allocations: 82.33 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3354, allocations: 143.9 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3355, allocations: 25.7 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.3355, allocations: 99.25 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3356, allocations: 14.14 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3356, allocations: 22.58 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3357, allocations: 320.6 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.3358, allocations: 22.45 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.3359, allocations: 34.78 kB / 0.5359 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.336, allocations: 44.12 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3361, allocations: 1.156 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.3363, allocations: 88.48 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3363, allocations: 9.562 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3363, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3363, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.3364, allocations: 14.52 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3364, allocations: 0 / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.3364, allocations: 7.844 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3365, allocations: 1.344 kB / 0.536 GB, free: 8.711 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 0.0001516/0.3366, allocations: 113.3 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3367, allocations: 12.08 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.3369, allocations: 96.61 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3369, allocations: 1.406 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3369, allocations: 0 / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3369, allocations: 8.969 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.3374, allocations: 342 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3375, allocations: 7.922 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.3375, allocations: 18.17 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3375, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3376, allocations: 5.031 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3376, allocations: 1.25 kB / 0.5366 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3376, allocations: 4 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3378, allocations: 184 kB / 0.5368 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.3379, allocations: 82.28 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3379, allocations: 9.125 kB / 0.5369 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.338, allocations: 11.48 kB / 0.5369 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.338, allocations: 2.156 kB / 0.5369 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.338, allocations: 2.188 kB / 0.5369 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3381, allocations: 113.8 kB / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3381, allocations: 0 / 0.537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3384, allocations: 35.66 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.002193/0.3406, allocations: 1.104 MB / 0.5381 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3409, allocations: 48.47 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3409, allocations: 0 / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.341, allocations: 28.11 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.0003649/0.3413, allocations: 30.27 kB / 0.5382 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3432, allocations: 1.424 MB / 0.5396 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3435, allocations: 0.6885 MB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.3436, allocations: 23.58 kB / 0.5403 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3437, allocations: 26.61 kB / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3437, allocations: 0 / 0.5403 GB, free: 4.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3767, allocations: 3.224 MB / 0.5435 GB, free: 2.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.46, allocations: 7.406 kB / 0.5435 GB, free: 2.945 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_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_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1)