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.001352/0.001352, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 202 kB / 18.74 MB, free: 4.332 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.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.2374/0.2374, 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.002223/0.002223, allocations: 79.88 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3316, allocations: 62.46 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003368/0.335, allocations: 1.92 MB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3371, allocations: 1.126 MB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.3372, allocations: 2.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.3378, allocations: 255.2 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.3383, allocations: 229.8 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.3386, allocations: 115.8 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.3389, allocations: 275.6 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3391, allocations: 28.78 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.3393, allocations: 136 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3396, allocations: 186.4 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3396, allocations: 9.625 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3397, allocations: 66.25 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.3399, allocations: 60.52 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.34, allocations: 103.7 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3404, allocations: 254.8 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3404, allocations: 0 / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.279e-06/0.3404, allocations: 4.969 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3404, allocations: 7.938 kB / 0.5353 GB, free: 9.984 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.0008886/0.3413, allocations: 0.5894 MB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3414, allocations: 10.03 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.3414, allocations: 40.91 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.3415, allocations: 30.62 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.3419, allocations: 295.7 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3419, allocations: 11.83 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.342, allocations: 17.56 kB / 0.5363 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3422, allocations: 109.6 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3423, allocations: 1.281 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3423, allocations: 5.156 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3423, allocations: 2.188 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3424, allocations: 44.06 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.3432, allocations: 495.2 kB / 0.5369 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.3435, allocations: 121.2 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3437, allocations: 45.55 kB / 0.5371 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3437, allocations: 6.219 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3439, allocations: 120 kB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3439, allocations: 1.312 kB / 0.5372 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.3453, allocations: 0.5172 MB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.3454, allocations: 80.14 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.346, allocations: 0.4933 MB / 0.5383 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.346, allocations: 35.86 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3462, allocations: 164.8 kB / 0.5385 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3462, allocations: 78 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.3463, allocations: 41.86 kB / 0.5386 GB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3465, allocations: 349.5 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3466, allocations: 61.06 kB / 0.539 GB, free: 6.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3468, allocations: 91.91 kB / 0.5391 GB, free: 6.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3471, allocations: 152.4 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3471, allocations: 5.594 kB / 0.5392 GB, free: 6.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004273/0.3475, allocations: 243.5 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3476, allocations: 5.344 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3476, allocations: 1.312 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3476, allocations: 1.75 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3477, allocations: 38.23 kB / 0.5395 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3478, allocations: 10.55 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.3479, allocations: 8.031 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3479, allocations: 15.38 kB / 0.5395 GB, free: 6.613 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.0001936/0.3481, allocations: 169.3 kB / 0.5397 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3481, allocations: 39.45 kB / 0.5397 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.188e-05/0.3482, allocations: 53.91 kB / 0.5398 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3482, allocations: 1.75 kB / 0.5398 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3483, allocations: 1.75 kB / 0.5398 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.3483, allocations: 3.938 kB / 0.5398 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3495, allocations: 0.7349 MB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3495, allocations: 2.188 kB / 0.5405 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.3496, allocations: 30.67 kB / 0.5405 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3496, allocations: 3.344 kB / 0.5405 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3497, allocations: 11.67 kB / 0.5405 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3497, allocations: 2.344 kB / 0.5405 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3497, allocations: 5.938 kB / 0.5405 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.3502, allocations: 427.8 kB / 0.541 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.3504, allocations: 114.6 kB / 0.5411 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.3504, allocations: 3.344 kB / 0.5411 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3506, allocations: 17.14 kB / 0.5411 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3506, allocations: 20.86 kB / 0.5411 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3507, allocations: 8.875 kB / 0.5411 GB, free: 5.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004464/0.3511, allocations: 373.4 kB / 0.5415 GB, free: 5.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3511, allocations: 0 / 0.5415 GB, free: 5.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3515, allocations: 52.8 kB / 0.5415 GB, free: 5.074 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.002797/0.3543, allocations: 1.365 MB / 0.5429 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3547, allocations: 162.8 kB / 0.543 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3548, allocations: 0 / 0.543 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3549, allocations: 83.3 kB / 0.5431 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3556, allocations: 61.09 kB / 0.5431 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.3599, allocations: 3.014 MB / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3604, allocations: 0.7831 MB / 0.5469 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3605, allocations: 45.88 kB / 0.5469 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3607, allocations: 107.4 kB / 0.547 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3607, allocations: 0 / 0.547 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3902, allocations: 6.651 MB / 0.5535 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.869, allocations: 15.08 kB / 0.5535 GB, free: 10.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)