Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001721/0.001722, allocations: 117.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.002246/0.002247, allocations: 200.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.497/1.497, 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.226/0.226, 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.002287/0.002287, allocations: 76.09 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3173, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00425/0.3216, allocations: 1.607 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.3243, allocations: 1.158 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.3244, allocations: 1.656 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3248, allocations: 28.61 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.3252, allocations: 84.48 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3256, allocations: 119.1 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3258, allocations: 71.27 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.326, allocations: 14.86 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.3261, allocations: 21.55 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3263, allocations: 38.84 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3263, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.3266, allocations: 98.73 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.3267, allocations: 12.06 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.3268, allocations: 25.36 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.3272, allocations: 146 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3272, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3272, allocations: 1.375 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3273, allocations: 0 / 0.534 GB, free: 10.83 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.0006837/0.328, allocations: 403.5 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.328, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.3281, allocations: 40.11 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.3281, allocations: 7.641 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3284, allocations: 193.5 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3284, allocations: 1.656 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3285, allocations: 5.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3287, allocations: 68.92 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3287, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3287, allocations: 9.312 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3287, allocations: 3.938 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3289, allocations: 22.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.3294, allocations: 283.2 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3297, allocations: 49.83 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.3298, allocations: 19.2 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3298, allocations: 5.547 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3298, allocations: 32 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.3298, allocations: 0 / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007918/0.3306, allocations: 154.5 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.3307, allocations: 82.3 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.331, allocations: 143.6 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.331, allocations: 26.73 kB / 0.5354 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.3311, allocations: 99.47 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3311, allocations: 18.02 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.3312, allocations: 14.41 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3314, allocations: 325.1 kB / 0.5359 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3315, allocations: 23.36 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3317, allocations: 36.7 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3319, allocations: 58.91 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3319, allocations: 1.062 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003084/0.3322, allocations: 83.47 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3323, allocations: 4.656 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3323, allocations: 4.031 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3323, allocations: 1.062 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3324, allocations: 13.23 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3325, allocations: 1.188 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.3326, allocations: 15.11 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3326, allocations: 2.188 kB / 0.5361 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 0.000131/0.3327, allocations: 114 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.3328, allocations: 6.922 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.3332, allocations: 104.2 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3332, allocations: 1.406 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3332, allocations: 0 / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3332, allocations: 5.031 kB / 0.5363 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.334, allocations: 359.5 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.334, allocations: 0 / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.3341, allocations: 13.7 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3341, allocations: 4 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3342, allocations: 5.781 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3342, allocations: 4 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3342, allocations: 1.312 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.3346, allocations: 182.4 kB / 0.5369 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.3346, allocations: 86.38 kB / 0.537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3347, allocations: 9.312 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3348, allocations: 8.109 kB / 0.537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.3349, allocations: 9.359 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3349, allocations: 5.312 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.3351, allocations: 114.5 kB / 0.5371 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3351, allocations: 0 / 0.5371 GB, free: 7.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.3356, allocations: 36.62 kB / 0.5371 GB, free: 7.734 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.003281/0.3389, allocations: 1.102 MB / 0.5382 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3393, allocations: 58.23 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3393, allocations: 1.094 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.3394, allocations: 24.52 kB / 0.5383 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.34, allocations: 15.7 kB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.3428, allocations: 1.457 MB / 0.5397 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.3433, allocations: 0.6901 MB / 0.5404 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3434, allocations: 25.58 kB / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.3435, allocations: 30.17 kB / 0.5405 GB, free: 4.758 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3435, allocations: 1 kB / 0.5405 GB, free: 4.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3768, allocations: 3.249 MB / 0.5436 GB, free: 2.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.633, allocations: 3.125 kB / 0.5436 GB, free: 2.906 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1)