Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 122.8 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.001866/0.001866, allocations: 202 kB / 18.73 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.2325/0.2325, allocations: 46.13 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.002507/0.002507, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.36, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003213/0.3633, allocations: 1.743 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3651, allocations: 1.033 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.3652, allocations: 1.312 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.3656, allocations: 106.7 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3659, allocations: 125.5 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3661, allocations: 83.44 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.3664, allocations: 131.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.3665, allocations: 16.72 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3666, allocations: 64.03 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3667, allocations: 57.73 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3667, allocations: 5.25 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3669, allocations: 71.7 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.3669, allocations: 30.33 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.367, allocations: 50.28 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3673, allocations: 162.6 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3673, allocations: 1.375 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3673, allocations: 0 / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.3674, allocations: 3.938 kB / 0.5343 GB, free: 10.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007444/0.3681, allocations: 458.2 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3682, allocations: 9.625 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.3682, allocations: 40.12 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3683, allocations: 19.66 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.3687, allocations: 225.7 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3688, allocations: 7.062 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.3688, allocations: 10.69 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.369, allocations: 59.55 kB / 0.5351 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.369, allocations: 3.984 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.369, allocations: 1.375 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.369, allocations: 1.375 kB / 0.5351 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3692, allocations: 32.48 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.3697, allocations: 323.1 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.3701, allocations: 80.88 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.3702, allocations: 25.23 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3702, allocations: 1.375 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.3705, allocations: 85.28 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3705, allocations: 0 / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001026/0.3715, allocations: 272.7 kB / 0.5359 GB, free: 9.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.3716, allocations: 56.59 kB / 0.5359 GB, free: 9.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.372, allocations: 254.1 kB / 0.5362 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3721, allocations: 27.89 kB / 0.5362 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3722, allocations: 119.9 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3723, allocations: 44.95 kB / 0.5364 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.3724, allocations: 31.86 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3726, allocations: 327.4 kB / 0.5367 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3727, allocations: 32.83 kB / 0.5367 GB, free: 8.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3728, allocations: 46.3 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.373, allocations: 97.62 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.373, allocations: 1.188 kB / 0.5369 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003216/0.3734, allocations: 142 kB / 0.537 GB, free: 8.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3734, allocations: 9.719 kB / 0.537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3734, allocations: 4.219 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3734, allocations: 1.094 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.3735, allocations: 23.38 kB / 0.537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3736, allocations: 9.016 kB / 0.537 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.3736, allocations: 13.75 kB / 0.5371 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3736, allocations: 4 kB / 0.5371 GB, free: 8.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001632/0.3738, allocations: 141.9 kB / 0.5372 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3738, allocations: 18.88 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.3739, allocations: 25.8 kB / 0.5372 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3739, allocations: 6.562 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3739, allocations: 0 / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.374, allocations: 0 / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3747, allocations: 475.5 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3747, allocations: 0 / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.3747, allocations: 17.81 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3747, allocations: 1.5 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3748, allocations: 6.922 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3748, allocations: 1 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3748, allocations: 0.9375 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3751, allocations: 262.6 kB / 0.538 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.3752, allocations: 89.39 kB / 0.5381 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.3753, allocations: 6.062 kB / 0.5381 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.3753, allocations: 6.688 kB / 0.5381 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.3754, allocations: 9.328 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.3754, allocations: 5.281 kB / 0.5381 GB, free: 7.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.3757, allocations: 204.7 kB / 0.5383 GB, free: 7.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 0.5383 GB, free: 7.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.376, allocations: 30.31 kB / 0.5383 GB, free: 7.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00254/0.3785, allocations: 1.174 MB / 0.5395 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.3788, allocations: 95.14 kB / 0.5396 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3788, allocations: 1.094 kB / 0.5396 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3789, allocations: 42.39 kB / 0.5396 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3793, allocations: 36.45 kB / 0.5396 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.3819, allocations: 1.955 MB / 0.5415 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.3823, allocations: 0.7195 MB / 0.5422 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.043e-05/0.3824, allocations: 26.28 kB / 0.5423 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.3825, allocations: 50.52 kB / 0.5423 GB, free: 3.797 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3825, allocations: 1.094 kB / 0.5423 GB, free: 3.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.4101, allocations: 4.201 MB / 0.5464 GB, free: 1.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.479, allocations: 12.31 kB / 0.5464 GB, free: 1.375 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_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_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)