Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 114.2 kB / 17.78 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.001301/0.001302, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, 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.225/0.225, allocations: 46.12 MB / 344.3 MB, free: 11.45 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.002402/0.002402, allocations: 80.2 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.32, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003055/0.3231, allocations: 1.597 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3242, allocations: 0.5324 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3242, allocations: 3.938 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.3245, allocations: 25.52 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.3248, allocations: 74.78 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3251, allocations: 90.8 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3252, allocations: 66.88 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3253, allocations: 9.312 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.3254, allocations: 24.3 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.3255, allocations: 22.61 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3255, allocations: 6.781 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.3256, allocations: 36.64 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.3256, allocations: 11.77 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.3257, allocations: 24.53 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3259, allocations: 83.69 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3259, allocations: 3.938 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3259, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3259, allocations: 0 / 0.5332 GB, free: 11.41 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.0004942/0.3264, allocations: 384.6 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3264, allocations: 12.97 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.3265, allocations: 34.73 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.3265, allocations: 12.48 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3267, allocations: 181.2 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3268, allocations: 10.12 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3268, allocations: 2.188 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3269, allocations: 51.73 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3269, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.327, allocations: 1.562 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.327, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.3271, allocations: 25.14 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3274, allocations: 275.6 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.3276, allocations: 47 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3277, allocations: 19.8 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3277, allocations: 0 / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3277, allocations: 35.94 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.3277, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005539/0.3283, allocations: 149.8 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3284, allocations: 56.77 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3285, allocations: 149 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.3286, allocations: 33.7 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.3286, allocations: 96.25 kB / 0.5347 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3286, allocations: 13.23 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3287, allocations: 17.84 kB / 0.5347 GB, free: 9.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3288, allocations: 325.5 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.3289, allocations: 18.98 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.329, allocations: 14.98 kB / 0.535 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.3291, allocations: 60.33 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3292, allocations: 0 / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.3293, allocations: 75.88 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3294, allocations: 5.5 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3294, allocations: 0 / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3294, allocations: 1.375 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.3295, allocations: 13.61 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3295, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.3295, allocations: 16.11 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3295, allocations: 5.312 kB / 0.5352 GB, free: 9.391 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.932e-05/0.3297, allocations: 117.9 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3297, allocations: 12.02 kB / 0.5353 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3299, allocations: 85.59 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3299, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.33, allocations: 1.375 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.33, allocations: 4 kB / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.3304, allocations: 350.4 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3304, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.3305, allocations: 13.61 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3305, allocations: 1.375 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3305, allocations: 0 / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3305, allocations: 5.312 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3305, allocations: 192 / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3308, allocations: 183.1 kB / 0.536 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.3309, allocations: 83.69 kB / 0.536 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3309, allocations: 9.188 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.331, allocations: 10.62 kB / 0.536 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.331, allocations: 5.328 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.331, allocations: 2.594 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.3311, allocations: 118 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3311, allocations: 0 / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3314, allocations: 17.64 kB / 0.5362 GB, free: 8.449 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.001954/0.3334, allocations: 1.006 MB / 0.5372 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3336, allocations: 52.7 kB / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3336, allocations: 0 / 0.5372 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.3337, allocations: 23.64 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.334, allocations: 24.58 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3358, allocations: 1.44 MB / 0.5387 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3361, allocations: 0.6906 MB / 0.5393 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.667e-05/0.3362, allocations: 10.28 kB / 0.5394 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.3363, allocations: 23.67 kB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3363, allocations: 3.938 kB / 0.5394 GB, free: 5.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3589, allocations: 2.543 MB / 0.5419 GB, free: 4.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.369, allocations: 14.97 kB / 0.5419 GB, free: 4.098 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)