Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 117.6 kB / 17.79 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.001342/0.001343, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.42 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.2254/0.2254, allocations: 46.12 MB / 344.3 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.002212/0.002212, allocations: 79.86 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4013, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004413/0.4058, allocations: 1.75 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.4084, allocations: 1.03 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.4085, allocations: 1.781 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.4089, allocations: 89.58 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.4094, allocations: 120.5 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.4097, allocations: 76.05 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.41, allocations: 116 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4101, allocations: 22.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4103, allocations: 60.45 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.4104, allocations: 67.42 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4105, allocations: 4.125 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.4107, allocations: 54.48 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.4107, allocations: 33.47 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.4108, allocations: 33.38 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.4112, allocations: 149.9 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.4112, allocations: 4 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.4112, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4112, allocations: 13.25 kB / 0.5342 GB, free: 10.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007924/0.412, allocations: 442.2 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4121, allocations: 8.25 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.4121, allocations: 32.12 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.4122, allocations: 19.7 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.4126, allocations: 223.6 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4127, allocations: 5.734 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.4127, allocations: 10.69 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4129, allocations: 68.72 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.413, allocations: 1.375 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.413, allocations: 0 / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.413, allocations: 1.375 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4131, allocations: 20.36 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.4137, allocations: 301.4 kB / 0.5353 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.414, allocations: 65.91 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.4141, allocations: 21.84 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.4142, allocations: 1 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.4144, allocations: 67.33 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.4144, allocations: 0 / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001054/0.4154, allocations: 259.6 kB / 0.5357 GB, free: 9.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.4155, allocations: 56.59 kB / 0.5358 GB, free: 9.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.4159, allocations: 236 kB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4159, allocations: 30.77 kB / 0.536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.416, allocations: 114.9 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4161, allocations: 33.45 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.4161, allocations: 30.33 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4163, allocations: 323.2 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.4164, allocations: 34.92 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.4165, allocations: 47.92 kB / 0.5366 GB, free: 8.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4166, allocations: 77.11 kB / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4166, allocations: 0 / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002356/0.4169, allocations: 130.6 kB / 0.5368 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.4169, allocations: 8.672 kB / 0.5368 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4169, allocations: 5.125 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4169, allocations: 1.281 kB / 0.5368 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.417, allocations: 28.66 kB / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.417, allocations: 1.406 kB / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.4171, allocations: 9.453 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4171, allocations: 4.375 kB / 0.5368 GB, free: 8.359 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 (13): * Single equations (assignments): 13 * 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.0001255/0.4172, allocations: 133.6 kB / 0.537 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.4173, allocations: 14.34 kB / 0.537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.4173, allocations: 21.38 kB / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.4173, allocations: 13.28 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4173, allocations: 0 / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.4174, allocations: 3.984 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.4179, allocations: 455.3 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4179, allocations: 1.562 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.418, allocations: 14.98 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.418, allocations: 1.469 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.418, allocations: 6.844 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.418, allocations: 1.094 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.418, allocations: 5.375 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.4183, allocations: 233.9 kB / 0.5377 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.4184, allocations: 92.45 kB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.4184, allocations: 3.125 kB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.4185, allocations: 9.984 kB / 0.5378 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4185, allocations: 8.688 kB / 0.5378 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4185, allocations: 4.812 kB / 0.5378 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.4187, allocations: 173.1 kB / 0.538 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.256e-06/0.4187, allocations: 0 / 0.538 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.419, allocations: 36.73 kB / 0.538 GB, free: 7.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002324/0.4213, allocations: 1.166 MB / 0.5391 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4215, allocations: 85.12 kB / 0.5392 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4215, allocations: 0 / 0.5392 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.4216, allocations: 44.05 kB / 0.5393 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.422, allocations: 35.72 kB / 0.5393 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4241, allocations: 1.842 MB / 0.5411 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4245, allocations: 0.7204 MB / 0.5418 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.4245, allocations: 23.61 kB / 0.5418 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.4246, allocations: 45.33 kB / 0.5419 GB, free: 4.039 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4246, allocations: 0 / 0.5419 GB, free: 4.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.4496, allocations: 3.957 MB / 0.5457 GB, free: 1.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.527, allocations: 5.25 kB / 0.5457 GB, free: 1.938 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)