Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, 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.001919/0.001919, 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.466/1.466, 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 trunk/package.mo): time 0.2504/0.2504, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 75.88 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2999, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003521/0.3035, allocations: 1.838 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3055, allocations: 1.085 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.3056, allocations: 1.406 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.3062, allocations: 307.5 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.3067, allocations: 259.7 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3069, allocations: 100.4 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.3072, allocations: 262.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.3073, allocations: 13.92 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3075, allocations: 132 kB / 0.5346 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.3077, allocations: 204.1 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3077, allocations: 10.72 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3079, allocations: 46.52 kB / 0.5348 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3081, allocations: 141.6 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.3082, allocations: 151.4 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.3088, allocations: 377.1 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3088, allocations: 0 / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3089, allocations: 1.062 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3089, allocations: 0 / 0.5355 GB, free: 9.941 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.00126/0.3101, allocations: 0.7627 MB / 0.5362 GB, free: 9.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3102, allocations: 8.812 kB / 0.5362 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.3103, allocations: 36.25 kB / 0.5362 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3104, allocations: 50.8 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.3111, allocations: 457.1 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3112, allocations: 7.188 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3112, allocations: 13.52 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3114, allocations: 91.83 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3115, allocations: 1.344 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3115, allocations: 0 / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3115, allocations: 1.25 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3116, allocations: 27.72 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.3121, allocations: 382.4 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.3124, allocations: 113.5 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3126, allocations: 37.86 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3126, allocations: 1.125 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3129, allocations: 120.3 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3129, allocations: 0 / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005962/0.3135, allocations: 202.1 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.3136, allocations: 78.17 kB / 0.5378 GB, free: 7.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.315, allocations: 1.049 MB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.315, allocations: 31.86 kB / 0.5388 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.3153, allocations: 238.2 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.3154, allocations: 32.45 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.3154, allocations: 26.81 kB / 0.5391 GB, free: 7.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3156, allocations: 374.1 kB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.3157, allocations: 30.86 kB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3158, allocations: 62.2 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.316, allocations: 89.59 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.316, allocations: 3.938 kB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003218/0.3164, allocations: 180 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3164, allocations: 5.625 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3164, allocations: 1.438 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3164, allocations: 5.438 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3166, allocations: 21.67 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3166, allocations: 2.219 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.3167, allocations: 12.33 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3167, allocations: 7.656 kB / 0.5399 GB, free: 6.562 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002613/0.317, allocations: 230.9 kB / 0.5401 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.3171, allocations: 53.81 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.3172, allocations: 63.73 kB / 0.5402 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3172, allocations: 5.156 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3172, allocations: 1.094 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3172, allocations: 1.25 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3176, allocations: 345.8 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3176, allocations: 1.062 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.3177, allocations: 10.7 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3177, allocations: 1.062 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3177, allocations: 2.062 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3177, allocations: 1.031 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3177, allocations: 3.938 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3181, allocations: 209.5 kB / 0.5407 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3183, allocations: 143.3 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.3183, allocations: 5.641 kB / 0.5409 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3184, allocations: 12.34 kB / 0.5409 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3185, allocations: 6.859 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3185, allocations: 4.375 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.3197, allocations: 0.7888 MB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3197, allocations: 1.062 kB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.32, allocations: 44.81 kB / 0.5417 GB, free: 5.344 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002247/0.3223, allocations: 1.043 MB / 0.5427 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.3226, allocations: 83.36 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3226, allocations: 0 / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3227, allocations: 43.72 kB / 0.5429 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.3232, allocations: 71.3 kB / 0.5429 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006966/0.3302, allocations: 4.577 MB / 0.5474 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.3309, allocations: 0.8388 MB / 0.5482 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3311, allocations: 62.92 kB / 0.5483 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.3314, allocations: 159.4 kB / 0.5484 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3314, allocations: 0 / 0.5484 GB, free: 15.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3649, allocations: 9.077 MB / 0.5573 GB, free: 6.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/9.066, allocations: 19.56 kB / 0.5573 GB, free: 6.094 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)