Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, 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.2448/0.2448, 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.003618/0.003618, allocations: 79.86 kB / 481 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3372, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003412/0.3406, allocations: 1.969 MB / 0.5326 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3428, allocations: 1.191 MB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.343, allocations: 5.312 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.3438, allocations: 202 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.3443, allocations: 202.2 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.3448, allocations: 157.9 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3452, allocations: 271 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3454, allocations: 29.98 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3456, allocations: 115.8 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3457, allocations: 106.9 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.3458, allocations: 9.906 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.346, allocations: 64.41 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.3461, allocations: 55.06 kB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3462, allocations: 82.67 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.3466, allocations: 251.5 kB / 0.5352 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3466, allocations: 0 / 0.5352 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3466, allocations: 4 kB / 0.5352 GB, free: 9.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3466, allocations: 1.375 kB / 0.5352 GB, free: 9.914 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009571/0.3476, allocations: 0.5641 MB / 0.5358 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3476, allocations: 9.812 kB / 0.5358 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.3477, allocations: 37 kB / 0.5358 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.3477, allocations: 27.45 kB / 0.5359 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.3481, allocations: 301.1 kB / 0.5362 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3481, allocations: 6.625 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3481, allocations: 8.156 kB / 0.5362 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3484, allocations: 102.1 kB / 0.5363 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3484, allocations: 4.969 kB / 0.5363 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3484, allocations: 1.094 kB / 0.5363 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3484, allocations: 1.031 kB / 0.5363 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3486, allocations: 40.62 kB / 0.5363 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.3491, allocations: 383.5 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.3494, allocations: 115.2 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3495, allocations: 43.73 kB / 0.5368 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3496, allocations: 6.562 kB / 0.5368 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3498, allocations: 114.7 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3498, allocations: 0 / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004831/0.3503, allocations: 181.7 kB / 0.5371 GB, free: 8.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.3504, allocations: 108 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.3508, allocations: 351.1 kB / 0.5376 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3508, allocations: 30.8 kB / 0.5376 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.351, allocations: 140.5 kB / 0.5377 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.351, allocations: 41.33 kB / 0.5378 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.3511, allocations: 27.75 kB / 0.5378 GB, free: 7.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3513, allocations: 345.4 kB / 0.5381 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3514, allocations: 37.09 kB / 0.5381 GB, free: 7.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3515, allocations: 69.89 kB / 0.5382 GB, free: 7.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3517, allocations: 101.4 kB / 0.5383 GB, free: 7.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3517, allocations: 1.094 kB / 0.5383 GB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002976/0.352, allocations: 149.9 kB / 0.5385 GB, free: 7.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.352, allocations: 5.188 kB / 0.5385 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3521, allocations: 1.281 kB / 0.5385 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3521, allocations: 1.438 kB / 0.5385 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3522, allocations: 25.17 kB / 0.5385 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3522, allocations: 2.531 kB / 0.5385 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.3523, allocations: 24.91 kB / 0.5385 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3523, allocations: 4.25 kB / 0.5385 GB, free: 7.008 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001503/0.3525, allocations: 159.9 kB / 0.5387 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.3525, allocations: 28.91 kB / 0.5387 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.3526, allocations: 28.02 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3526, allocations: 1.219 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3527, allocations: 1.406 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3527, allocations: 7.922 kB / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3529, allocations: 252.6 kB / 0.539 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3529, allocations: 1.031 kB / 0.539 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.353, allocations: 11.05 kB / 0.539 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.353, allocations: 1.375 kB / 0.539 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.353, allocations: 4.969 kB / 0.539 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.353, allocations: 1.062 kB / 0.539 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.353, allocations: 4.875 kB / 0.539 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3534, allocations: 191.5 kB / 0.5392 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.3535, allocations: 103 kB / 0.5393 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3535, allocations: 6.375 kB / 0.5393 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.3536, allocations: 12.86 kB / 0.5393 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3536, allocations: 12.72 kB / 0.5393 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3537, allocations: 8.453 kB / 0.5393 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.354, allocations: 260.7 kB / 0.5396 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 0.5396 GB, free: 6.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3542, allocations: 34 kB / 0.5396 GB, free: 6.109 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001995/0.3562, allocations: 1.018 MB / 0.5406 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3565, allocations: 100.1 kB / 0.5407 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3565, allocations: 1.531 kB / 0.5407 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3567, allocations: 49.88 kB / 0.5407 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3571, allocations: 77.73 kB / 0.5408 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3601, allocations: 2.342 MB / 0.5431 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.3605, allocations: 0.7537 MB / 0.5438 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.3607, allocations: 37.03 kB / 0.5439 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3608, allocations: 70.38 kB / 0.5439 GB, free: 2.645 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3608, allocations: 0 / 0.5439 GB, free: 2.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.3904, allocations: 5.786 MB / 0.5496 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.669, allocations: 15.75 kB / 0.5496 GB, free: 13.97 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1)