Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, allocations: 118.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.001251/0.001251, allocations: 198 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.44 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.2329/0.2329, 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.002242/0.002242, allocations: 83.86 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3981, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003389/0.4015, allocations: 1.734 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4034, allocations: 1.021 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.4035, allocations: 1.125 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.404, allocations: 85.86 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.4043, allocations: 110.6 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.4046, allocations: 82.81 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.4048, allocations: 112.6 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4049, allocations: 10.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.405, allocations: 57.86 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4051, allocations: 64.22 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4052, allocations: 4.125 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4053, allocations: 43.48 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.4054, allocations: 20.17 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.4054, allocations: 35.98 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.4057, allocations: 132.5 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4057, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4057, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4057, allocations: 0 / 0.5341 GB, free: 10.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006001/0.4063, allocations: 431.6 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4063, allocations: 13.56 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.4064, allocations: 32.12 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.4064, allocations: 18.34 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.4068, allocations: 212.6 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4068, allocations: 3.125 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.4068, allocations: 9.297 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.407, allocations: 57.98 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.407, allocations: 4 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.407, allocations: 9.297 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.407, allocations: 1.375 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.4071, allocations: 17.62 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.4075, allocations: 292.2 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4077, allocations: 61.86 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.4078, allocations: 22.48 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4078, allocations: 1.375 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.4079, allocations: 65.14 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.408, allocations: 0 / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005695/0.4085, allocations: 174.7 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4086, allocations: 52.78 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.4088, allocations: 234.5 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4089, allocations: 31.3 kB / 0.5358 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.4089, allocations: 105.7 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.409, allocations: 23.33 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.409, allocations: 23.64 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4092, allocations: 328 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.4093, allocations: 22.27 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.4094, allocations: 47.72 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.4095, allocations: 54.38 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4095, allocations: 1.219 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.4097, allocations: 104.2 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4097, allocations: 4.656 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4097, allocations: 1.031 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4098, allocations: 1.062 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.4099, allocations: 21.42 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4099, allocations: 5.219 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.4099, allocations: 9.031 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4099, allocations: 3.344 kB / 0.5365 GB, free: 8.504 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 (10): * Single equations (assignments): 10 * 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.0001202/0.4101, allocations: 133.4 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.4101, allocations: 13.53 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.4102, allocations: 15.06 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4102, allocations: 1.094 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4102, allocations: 1.031 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4102, allocations: 11.92 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4107, allocations: 396.7 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4107, allocations: 1.375 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.4107, allocations: 7.438 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4108, allocations: 8.938 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4108, allocations: 5.109 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4108, allocations: 1.188 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4108, allocations: 1.094 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4111, allocations: 209 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4111, allocations: 84.06 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4112, allocations: 9.844 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.4112, allocations: 6.078 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.4113, allocations: 3.094 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4113, allocations: 3.562 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.4115, allocations: 172.8 kB / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4115, allocations: 1.156 kB / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.4118, allocations: 24.5 kB / 0.5375 GB, free: 7.531 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: 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 (8): * Single equations (assignments): 6 * 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.002306/0.4141, allocations: 1.107 MB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4143, allocations: 54.36 kB / 0.5387 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4143, allocations: 0 / 0.5387 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.4144, allocations: 33.36 kB / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4148, allocations: 33.06 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.417, allocations: 1.712 MB / 0.5404 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4174, allocations: 0.7157 MB / 0.5411 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.4174, allocations: 14.66 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.4175, allocations: 38.98 kB / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4175, allocations: 0 / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4436, allocations: 3.574 MB / 0.5447 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.629, allocations: 12.58 kB / 0.5447 GB, free: 2.473 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)