Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 118.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.001467/0.001467, allocations: 205.2 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.509/1.509, allocations: 227.4 MB / 247 MB, free: 10.41 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.2337/0.2337, allocations: 46.12 MB / 344.4 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.002448/0.002448, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3283, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003726/0.3321, allocations: 1.625 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3333, allocations: 0.5435 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3334, allocations: 1.25 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3338, allocations: 77.39 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.3342, allocations: 101.7 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3346, allocations: 119.5 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3348, allocations: 84.73 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.335, allocations: 12.38 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.335, allocations: 35.89 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3352, allocations: 63.81 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3352, allocations: 3.844 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3353, allocations: 44.61 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.3354, allocations: 24.89 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3355, allocations: 33.14 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3357, allocations: 105.8 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3357, allocations: 4 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3357, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3357, allocations: 1.375 kB / 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.0005826/0.3363, allocations: 415.6 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3364, allocations: 13.56 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.3364, allocations: 38.73 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3365, allocations: 14.34 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3367, allocations: 205.2 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3367, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3368, allocations: 3.125 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3369, allocations: 54 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3369, allocations: 1.375 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.337, allocations: 11.92 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.337, allocations: 5.312 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.3372, allocations: 35.03 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3377, allocations: 300.4 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3379, allocations: 44.44 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.3379, allocations: 21.19 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3379, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.338, allocations: 39.88 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.338, allocations: 0 / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000979/0.339, allocations: 241.9 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.339, allocations: 56.78 kB / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3393, allocations: 215.2 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3393, allocations: 25.7 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.3394, allocations: 109.6 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.3394, allocations: 27.75 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.3395, allocations: 20.52 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3396, allocations: 326.8 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.3397, allocations: 34.92 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.3398, allocations: 29.47 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.34, allocations: 70.05 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.34, allocations: 0 / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002398/0.3403, allocations: 113.1 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3403, allocations: 8.906 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3403, allocations: 1.344 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.3403, allocations: 3.984 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3404, allocations: 13.47 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3404, allocations: 5.031 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3405, allocations: 7.453 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3405, allocations: 2.312 kB / 0.5358 GB, free: 9.078 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.0001116/0.3406, allocations: 128.8 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3407, allocations: 20.53 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.3411, allocations: 131.4 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3411, allocations: 5.172 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3411, allocations: 3.938 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3411, allocations: 0 / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.3418, allocations: 431.6 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3418, allocations: 1.125 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.3419, allocations: 21.64 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3419, allocations: 1.062 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3419, allocations: 1.062 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3419, allocations: 5.094 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3419, allocations: 1.031 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3423, allocations: 212.3 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.3424, allocations: 101.2 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3424, allocations: 5.344 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.3425, allocations: 2.656 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3425, allocations: 7.578 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3425, allocations: 2.812 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.3427, allocations: 166.9 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3427, allocations: 0 / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.343, allocations: 27.66 kB / 0.537 GB, free: 7.996 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.00246/0.3455, allocations: 1.09 MB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.3458, allocations: 75.33 kB / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3459, allocations: 0 / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.346, allocations: 43.5 kB / 0.5382 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3464, allocations: 21.75 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3488, allocations: 1.717 MB / 0.5399 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3493, allocations: 0.7155 MB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.591e-05/0.3494, allocations: 20.39 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.3494, allocations: 33.33 kB / 0.5407 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3494, allocations: 1.125 kB / 0.5407 GB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.3751, allocations: 3.165 MB / 0.5438 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.413, allocations: 14.16 kB / 0.5438 GB, free: 3.145 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1)