Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001904/0.001904, allocations: 117.6 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.002138/0.002138, 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.482/1.482, 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.2255/0.2255, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002343/0.002343, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3102, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003058/0.3132, allocations: 1.614 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.3143, allocations: 0.551 MB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.3143, allocations: 1.594 kB / 0.5328 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.3146, allocations: 103 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3149, allocations: 122.5 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.3153, allocations: 114.9 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.3154, allocations: 91.67 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.3155, allocations: 17.61 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.3156, allocations: 43.08 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3157, allocations: 60.95 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3158, allocations: 6.734 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.3159, allocations: 50.23 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.3159, allocations: 21.55 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.316, allocations: 38.55 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3162, allocations: 112 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3162, allocations: 5.281 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3162, allocations: 3.938 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3162, allocations: 0 / 0.5335 GB, free: 11.25 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.0005785/0.3168, allocations: 439.9 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3168, allocations: 8.812 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.3169, allocations: 36.33 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3169, allocations: 13.92 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3172, allocations: 207.7 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3172, allocations: 1.812 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3172, allocations: 11.08 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3174, allocations: 54.09 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3174, allocations: 9.25 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3174, allocations: 4 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3174, allocations: 1.438 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.3175, allocations: 27.2 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3179, allocations: 307.2 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3181, allocations: 43.12 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3181, allocations: 22 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3182, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3182, allocations: 35.62 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3182, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008975/0.3191, allocations: 248 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3192, allocations: 56.39 kB / 0.535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.3194, allocations: 262.4 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3195, allocations: 27.3 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3196, allocations: 110.2 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.3196, allocations: 31.92 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3197, allocations: 23.22 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3198, allocations: 323 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.3199, allocations: 36.47 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.32, allocations: 33.8 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3202, allocations: 72.56 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3202, allocations: 1.375 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.3204, allocations: 113.7 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3205, allocations: 9.438 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3205, allocations: 0 / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3205, allocations: 0 / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3206, allocations: 21.73 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3206, allocations: 5.312 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.3207, allocations: 10.67 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3207, allocations: 2.75 kB / 0.536 GB, free: 8.973 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.0001199/0.3208, allocations: 131.7 kB / 0.5361 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3209, allocations: 13.81 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3212, allocations: 144.6 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3212, allocations: 1.094 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3212, allocations: 3.938 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3212, allocations: 1.125 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.3218, allocations: 426 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3218, allocations: 432 / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.3219, allocations: 25.64 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3219, allocations: 5.062 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3219, allocations: 2.219 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3219, allocations: 1.125 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.3219, allocations: 0 / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.3222, allocations: 217.4 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3223, allocations: 92.89 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3223, allocations: 4.938 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.3224, allocations: 8.188 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.3225, allocations: 11.2 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.3225, allocations: 1.812 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3227, allocations: 188.9 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3227, allocations: 0 / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3229, allocations: 19.78 kB / 0.5372 GB, free: 7.895 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.002187/0.3251, allocations: 1.107 MB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3254, allocations: 75.23 kB / 0.5384 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3254, allocations: 0 / 0.5384 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.3255, allocations: 44.16 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3259, allocations: 27.02 kB / 0.5385 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.328, allocations: 1.799 MB / 0.5402 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3284, allocations: 0.7166 MB / 0.5409 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.128e-05/0.3285, allocations: 20.09 kB / 0.5409 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.3286, allocations: 37.23 kB / 0.541 GB, free: 4.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3286, allocations: 1.188 kB / 0.541 GB, free: 4.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.3534, allocations: 3.345 MB / 0.5442 GB, free: 2.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.539, allocations: 12.58 kB / 0.5443 GB, free: 2.887 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1)