Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001247, 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.001293/0.001293, 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.459/1.459, 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.2257/0.2257, allocations: 46.13 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.002309/0.002309, allocations: 79.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3861, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003626/0.3898, allocations: 1.739 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3917, allocations: 1.022 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3918, allocations: 1.094 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.3921, allocations: 53.95 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3925, allocations: 99.08 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3927, allocations: 87.09 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3929, allocations: 96.39 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.393, allocations: 15.31 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.3931, allocations: 40.33 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3932, allocations: 40.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3933, allocations: 4.531 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3934, allocations: 43.72 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3935, allocations: 27.42 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.3935, allocations: 40.84 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3938, allocations: 140 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3938, allocations: 6 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3938, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3938, allocations: 0 / 0.534 GB, free: 10.77 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.0007199/0.3946, allocations: 455.4 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.3946, allocations: 9.312 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.3947, allocations: 32 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3947, allocations: 19.09 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3951, allocations: 220.2 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3951, allocations: 1.781 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3951, allocations: 10.7 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3953, allocations: 53.08 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3954, allocations: 5.406 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3954, allocations: 0 / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3954, allocations: 5.312 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.3955, allocations: 21.61 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3959, allocations: 308.3 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3961, allocations: 53.92 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.3962, allocations: 21.05 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3962, allocations: 1.375 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3964, allocations: 73.12 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3964, allocations: 0 / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.397, allocations: 181.1 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.397, allocations: 52.78 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.3974, allocations: 279.2 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3974, allocations: 27.08 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.3975, allocations: 111 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.3975, allocations: 27.92 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.3976, allocations: 28.58 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3977, allocations: 324.3 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.3978, allocations: 22.61 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.3979, allocations: 43.69 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.398, allocations: 54.72 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.398, allocations: 5.094 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3982, allocations: 113.1 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3983, allocations: 5.969 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3983, allocations: 4 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3983, allocations: 1.156 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3984, allocations: 17.39 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3984, allocations: 0 / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3984, allocations: 6.375 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3985, allocations: 7.25 kB / 0.5365 GB, free: 8.469 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.0001227/0.3986, allocations: 136.5 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3986, allocations: 15.12 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.3987, allocations: 21.39 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3987, allocations: 0.9688 kB / 0.5367 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3987, allocations: 5.156 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3987, allocations: 3.938 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.3993, allocations: 404.2 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3993, allocations: 5.25 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.3994, allocations: 11.72 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3994, allocations: 5.219 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3994, allocations: 5.016 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3994, allocations: 1.125 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3994, allocations: 1.266 kB / 0.5371 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3997, allocations: 205.5 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.3998, allocations: 93.17 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3998, allocations: 5 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.3999, allocations: 6.172 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3999, allocations: 11.38 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4, allocations: 3.312 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.4002, allocations: 203.4 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4002, allocations: 0 / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4005, allocations: 25.81 kB / 0.5377 GB, free: 7.477 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.002347/0.4028, allocations: 1.106 MB / 0.5387 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4031, allocations: 54.23 kB / 0.5388 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4031, allocations: 0 / 0.5388 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.4032, allocations: 34.08 kB / 0.5388 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4036, allocations: 32.39 kB / 0.5388 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4063, allocations: 1.834 MB / 0.5406 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.4067, allocations: 0.72 MB / 0.5413 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.839e-05/0.4068, allocations: 18.64 kB / 0.5414 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.4069, allocations: 42.98 kB / 0.5414 GB, free: 4.273 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4069, allocations: 4 kB / 0.5414 GB, free: 4.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4336, allocations: 3.781 MB / 0.5451 GB, free: 2.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.564, allocations: 17.47 kB / 0.5451 GB, free: 2.258 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)