Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 121.6 kB / 17.79 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.001558/0.001558, allocations: 204.7 kB / 18.74 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.475/1.475, 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.2345/0.2345, allocations: 46.12 MB / 344.4 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.0025/0.0025, allocations: 79.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.313, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002985/0.3161, allocations: 1.618 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.3171, allocations: 0.5475 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.3171, allocations: 1.594 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3174, allocations: 71.14 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.3177, allocations: 104.5 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.318, allocations: 119.2 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3182, allocations: 74.2 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.3183, allocations: 25.59 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.3183, allocations: 30.98 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.3184, allocations: 47.14 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3185, allocations: 4 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.3186, allocations: 49.08 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3186, allocations: 22.5 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.3187, allocations: 30.41 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3189, allocations: 108.4 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3189, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3189, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3189, allocations: 0 / 0.5334 GB, free: 11.29 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.0004993/0.3194, allocations: 415 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3195, allocations: 12.92 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.3195, allocations: 32.31 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3196, allocations: 22.06 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3198, allocations: 195 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3198, allocations: 1.719 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3198, allocations: 11.77 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.32, allocations: 58.66 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.32, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.32, allocations: 9.062 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.32, allocations: 0 / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.558e-05/0.3201, allocations: 23.83 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3205, allocations: 303.6 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3207, allocations: 48.34 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3207, allocations: 20.62 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3208, allocations: 1.125 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3208, allocations: 35.62 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3208, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008884/0.3217, allocations: 233.6 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3218, allocations: 52.81 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.322, allocations: 208.1 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.322, allocations: 29.64 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.3221, allocations: 113.9 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3221, allocations: 30.48 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3222, allocations: 20.59 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3223, allocations: 323 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.3224, allocations: 35.09 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.3225, allocations: 33.86 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3227, allocations: 73.88 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3227, allocations: 0 / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.3229, allocations: 108.4 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.323, allocations: 5.5 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.323, allocations: 0 / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.323, allocations: 1.375 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3231, allocations: 21.73 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.3231, allocations: 3.938 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.3232, allocations: 4.125 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3232, allocations: 5.359 kB / 0.5358 GB, free: 9.082 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.0001132/0.3233, allocations: 128.8 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3233, allocations: 12.03 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.3237, allocations: 134.5 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3237, allocations: 5.031 kB / 0.5361 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3237, allocations: 4.906 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3237, allocations: 0 / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.3243, allocations: 422.3 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3243, allocations: 4.938 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.3244, allocations: 26.19 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3244, allocations: 1.344 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3244, allocations: 5.094 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3244, allocations: 0.9688 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3244, allocations: 0 / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.3247, allocations: 213.2 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3248, allocations: 91.58 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3248, allocations: 5.094 kB / 0.5368 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.3249, allocations: 8.125 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3249, allocations: 11.23 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3249, allocations: 6.062 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3251, allocations: 154.9 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3251, allocations: 0 / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3253, allocations: 18.06 kB / 0.537 GB, free: 8.016 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.002174/0.3275, allocations: 1.1 MB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.3278, allocations: 75.2 kB / 0.5381 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3278, allocations: 0 / 0.5381 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3279, allocations: 48.42 kB / 0.5382 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3283, allocations: 19.11 kB / 0.5382 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3305, allocations: 1.679 MB / 0.5398 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3309, allocations: 0.7112 MB / 0.5405 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.3309, allocations: 20.19 kB / 0.5405 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.331, allocations: 34.23 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.331, allocations: 0 / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.354, allocations: 3.109 MB / 0.5436 GB, free: 3.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.45, allocations: 10.81 kB / 0.5436 GB, free: 3.195 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1)