Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.4 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.2199/0.2199, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.0022/0.0022, allocations: 83.88 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3242, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003431/0.3277, allocations: 1.927 MB / 0.5326 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3296, allocations: 1.125 MB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3298, allocations: 5.312 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.3302, allocations: 222.6 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.3307, allocations: 221.6 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.331, allocations: 112.5 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3313, allocations: 254.9 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3314, allocations: 32.47 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3316, allocations: 127.4 kB / 0.5346 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3318, allocations: 150.1 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3318, allocations: 7.938 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.332, allocations: 66.92 kB / 0.5348 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.3321, allocations: 62.5 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.3322, allocations: 86.14 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3325, allocations: 246.7 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3325, allocations: 0 / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3325, allocations: 3.938 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3326, allocations: 9.375 kB / 0.5352 GB, free: 10.04 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.0007832/0.3333, allocations: 0.5686 MB / 0.5358 GB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3334, allocations: 9.375 kB / 0.5358 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.3334, allocations: 41.27 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.3335, allocations: 31.12 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3339, allocations: 290.1 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.334, allocations: 8.312 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.334, allocations: 13.41 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3343, allocations: 107.4 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3343, allocations: 0 / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3343, allocations: 5.062 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3343, allocations: 6.219 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3345, allocations: 48.61 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.3351, allocations: 478.6 kB / 0.5368 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.3355, allocations: 122.6 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3356, allocations: 45.17 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3357, allocations: 6.469 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.3359, allocations: 119.9 kB / 0.537 GB, free: 8.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3359, allocations: 0 / 0.537 GB, free: 8.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001353/0.3373, allocations: 0.5045 MB / 0.5375 GB, free: 8.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3374, allocations: 83.45 kB / 0.5376 GB, free: 7.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3379, allocations: 457.3 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3379, allocations: 32.14 kB / 0.5381 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.338, allocations: 158.9 kB / 0.5382 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.3381, allocations: 69.92 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.3382, allocations: 45.3 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3383, allocations: 340.9 kB / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3385, allocations: 61.62 kB / 0.5387 GB, free: 7.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3386, allocations: 90.97 kB / 0.5388 GB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.3389, allocations: 161.6 kB / 0.539 GB, free: 6.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.339, allocations: 4 kB / 0.539 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004327/0.3394, allocations: 231.5 kB / 0.5392 GB, free: 6.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3394, allocations: 7.406 kB / 0.5392 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3394, allocations: 5.172 kB / 0.5392 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3394, allocations: 2.25 kB / 0.5392 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3396, allocations: 42.45 kB / 0.5392 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3396, allocations: 2.672 kB / 0.5392 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.3397, allocations: 11.73 kB / 0.5393 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3397, allocations: 23.44 kB / 0.5393 GB, free: 6.734 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.0001607/0.3399, allocations: 160.2 kB / 0.5394 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.3399, allocations: 42.81 kB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.34, allocations: 40.25 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3401, allocations: 6.062 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3401, allocations: 5.031 kB / 0.5395 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3401, allocations: 1.094 kB / 0.5395 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.341, allocations: 0.7351 MB / 0.5402 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3411, allocations: 1.312 kB / 0.5402 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-05/0.3411, allocations: 31.42 kB / 0.5403 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3412, allocations: 3 kB / 0.5403 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3412, allocations: 8.969 kB / 0.5403 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3412, allocations: 5.297 kB / 0.5403 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3412, allocations: 7.375 kB / 0.5403 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.3417, allocations: 426.2 kB / 0.5407 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.3418, allocations: 105.2 kB / 0.5408 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.3418, allocations: 12.78 kB / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.342, allocations: 3.531 kB / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.342, allocations: 25.12 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3421, allocations: 14.5 kB / 0.5409 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.3424, allocations: 333 kB / 0.5412 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3424, allocations: 0 / 0.5412 GB, free: 5.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3428, allocations: 53.39 kB / 0.5412 GB, free: 5.219 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.002616/0.3454, allocations: 1.363 MB / 0.5426 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.3458, allocations: 165.8 kB / 0.5427 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3458, allocations: 1.094 kB / 0.5427 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.346, allocations: 79.09 kB / 0.5428 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.3465, allocations: 58.7 kB / 0.5428 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.35, allocations: 2.881 MB / 0.5457 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.3505, allocations: 0.7823 MB / 0.5464 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.3506, allocations: 41.91 kB / 0.5465 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3508, allocations: 103.4 kB / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3508, allocations: 0 / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3792, allocations: 6.427 MB / 0.5528 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.668, allocations: 11.72 kB / 0.5529 GB, free: 10.71 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)