Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 118.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.002026/0.002026, allocations: 198 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.515/1.515, allocations: 227.4 MB / 247 MB, free: 10.45 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.2275/0.2275, allocations: 46.12 MB / 344.4 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.002248/0.002248, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3193, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003325/0.3227, allocations: 1.915 MB / 0.5326 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3246, allocations: 1.124 MB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.3247, allocations: 6.219 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.3251, allocations: 256 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.3256, allocations: 230 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3259, allocations: 118.9 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.3262, allocations: 272.6 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3264, allocations: 28.78 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3265, allocations: 142.5 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3268, allocations: 183.9 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.3268, allocations: 8.25 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.3269, allocations: 70.75 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.327, allocations: 60.61 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3271, allocations: 99.53 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.3275, allocations: 255.4 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3275, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3275, allocations: 3.938 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3275, allocations: 1.156 kB / 0.5353 GB, free: 10 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007913/0.3283, allocations: 0.593 MB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3284, allocations: 8.781 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.3284, allocations: 42.11 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.3285, allocations: 30.38 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3289, allocations: 300.1 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3289, allocations: 7.719 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3289, allocations: 12.66 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3292, allocations: 110.9 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3292, allocations: 1.219 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3292, allocations: 4 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3292, allocations: 6.188 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3294, allocations: 49.39 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.33, allocations: 485.4 kB / 0.5369 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.3304, allocations: 122.8 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3305, allocations: 48.47 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3305, allocations: 2.875 kB / 0.5371 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.3308, allocations: 127.9 kB / 0.5372 GB, free: 8.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.627e-06/0.3308, allocations: 3.984 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001294/0.3321, allocations: 0.5056 MB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.3321, allocations: 84.52 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.3327, allocations: 0.4966 MB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3327, allocations: 31.89 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3328, allocations: 164.7 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.3329, allocations: 78.06 kB / 0.5385 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.333, allocations: 41.58 kB / 0.5386 GB, free: 7.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3332, allocations: 349.9 kB / 0.5389 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3333, allocations: 57.09 kB / 0.539 GB, free: 6.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.3335, allocations: 103.6 kB / 0.5391 GB, free: 6.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.3338, allocations: 157.9 kB / 0.5392 GB, free: 6.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3338, allocations: 0 / 0.5392 GB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004339/0.3342, allocations: 243.8 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3342, allocations: 6.094 kB / 0.5395 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3343, allocations: 3.938 kB / 0.5395 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3343, allocations: 2.844 kB / 0.5395 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3344, allocations: 42.55 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3344, allocations: 1.406 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.3345, allocations: 12.61 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3346, allocations: 10.38 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001782/0.3347, allocations: 174.1 kB / 0.5397 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.3348, allocations: 39.8 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.3349, allocations: 44.36 kB / 0.5398 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3349, allocations: 3.281 kB / 0.5398 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3349, allocations: 5.344 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3349, allocations: 3.984 kB / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3359, allocations: 0.7357 MB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3359, allocations: 0.9375 kB / 0.5405 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.336, allocations: 31.92 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.336, allocations: 2.188 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3361, allocations: 4.438 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.3361, allocations: 6.812 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3361, allocations: 9.484 kB / 0.5406 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.3366, allocations: 416.9 kB / 0.5409 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.3367, allocations: 110.4 kB / 0.5411 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.3367, allocations: 8.484 kB / 0.5411 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3369, allocations: 12.25 kB / 0.5411 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.337, allocations: 28.78 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.337, allocations: 8.031 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.3374, allocations: 374 kB / 0.5415 GB, free: 5.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3374, allocations: 192 / 0.5415 GB, free: 5.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.3378, allocations: 53.36 kB / 0.5415 GB, free: 5.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002649/0.3404, allocations: 1.367 MB / 0.5429 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.3408, allocations: 166.9 kB / 0.543 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3408, allocations: 5.094 kB / 0.543 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.341, allocations: 74.69 kB / 0.5431 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.3415, allocations: 64.89 kB / 0.5431 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.3453, allocations: 3.004 MB / 0.5461 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3458, allocations: 0.7908 MB / 0.5469 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3459, allocations: 41.91 kB / 0.5469 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3461, allocations: 107.4 kB / 0.547 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3461, allocations: 0 / 0.547 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3758, allocations: 6.652 MB / 0.5535 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.883, allocations: 7.781 kB / 0.5535 GB, free: 10.05 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)