Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001455, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, 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.2308/0.2308, allocations: 46.11 MB / 344.3 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.002305/0.002305, allocations: 83.86 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003458/0.3327, allocations: 1.923 MB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3345, allocations: 1.125 MB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.3346, allocations: 1.375 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.3352, allocations: 259.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.3357, allocations: 230.7 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3359, allocations: 110.9 kB / 0.5343 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.3363, allocations: 271.7 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3364, allocations: 29.48 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3366, allocations: 138.1 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.3369, allocations: 180.7 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3369, allocations: 8.25 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.3371, allocations: 82.45 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3372, allocations: 60.52 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3373, allocations: 99.84 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.3378, allocations: 254.8 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3378, allocations: 0 / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.3378, allocations: 1.062 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3378, allocations: 3.938 kB / 0.5353 GB, free: 9.996 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.0009042/0.3387, allocations: 0.589 MB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3388, allocations: 9.75 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.484e-05/0.3389, allocations: 41.06 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.3389, allocations: 31 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.3394, allocations: 304.2 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3394, allocations: 6.875 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.3394, allocations: 9 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.3397, allocations: 111.5 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3397, allocations: 0 / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3398, allocations: 9.469 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3398, allocations: 1.219 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3399, allocations: 49.81 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.3405, allocations: 486.2 kB / 0.5369 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.3409, allocations: 129.3 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3411, allocations: 41.98 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3411, allocations: 2.312 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.3413, allocations: 140.3 kB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.3414, allocations: 0 / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001302/0.3427, allocations: 0.5008 MB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3427, allocations: 79.83 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.3433, allocations: 0.4934 MB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3433, allocations: 35.98 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3435, allocations: 173.6 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.3435, allocations: 76.86 kB / 0.5385 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.3436, allocations: 42.52 kB / 0.5386 GB, free: 7.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3438, allocations: 349.1 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3439, allocations: 57.88 kB / 0.539 GB, free: 6.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3441, allocations: 91.81 kB / 0.5391 GB, free: 6.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3444, allocations: 164.7 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3444, allocations: 0 / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004163/0.3448, allocations: 237.1 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3448, allocations: 4.188 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3448, allocations: 1.375 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3448, allocations: 6.75 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.345, allocations: 45.84 kB / 0.5395 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.345, allocations: 7.031 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3451, allocations: 8.125 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3451, allocations: 5.656 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.0001853/0.3453, allocations: 174.1 kB / 0.5397 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3454, allocations: 43.59 kB / 0.5397 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.3455, allocations: 43.27 kB / 0.5398 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3455, allocations: 5.375 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3455, allocations: 1.594 kB / 0.5398 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3455, allocations: 3.938 kB / 0.5398 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.3465, allocations: 0.7392 MB / 0.5405 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3465, allocations: 6 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.3466, allocations: 23.38 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3466, allocations: 3.5 kB / 0.5405 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.3466, allocations: 15.05 kB / 0.5405 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.3466, allocations: 6.875 kB / 0.5405 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3466, allocations: 5.219 kB / 0.5406 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.3472, allocations: 424.8 kB / 0.541 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.3473, allocations: 106.2 kB / 0.5411 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.3473, allocations: 7.875 kB / 0.5411 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3475, allocations: 15.83 kB / 0.5411 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3475, allocations: 17.83 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3476, allocations: 20.27 kB / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003809/0.3479, allocations: 373.2 kB / 0.5415 GB, free: 5.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3479, allocations: 0 / 0.5415 GB, free: 5.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3483, allocations: 49.78 kB / 0.5415 GB, free: 5.082 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.002627/0.3509, allocations: 1.358 MB / 0.5428 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.3513, allocations: 166.2 kB / 0.543 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3513, allocations: 4.125 kB / 0.543 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3515, allocations: 79.62 kB / 0.5431 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.3521, allocations: 63.58 kB / 0.5431 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3557, allocations: 3.012 MB / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3562, allocations: 0.787 MB / 0.5469 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.3563, allocations: 41.84 kB / 0.5469 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3565, allocations: 99.41 kB / 0.547 GB, free: 0.582 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3565, allocations: 4 kB / 0.547 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.3862, allocations: 6.657 MB / 0.5535 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.957, allocations: 10.44 kB / 0.5535 GB, free: 10.03 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_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_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)