Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, 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.2328/0.2328, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002247/0.002247, allocations: 83.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3824, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003334/0.3858, allocations: 1.832 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3878, allocations: 1.091 MB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.3879, allocations: 2.125 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.3885, allocations: 303.9 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.3891, allocations: 255.7 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3895, allocations: 104.4 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3898, allocations: 266.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.3899, allocations: 13.92 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.3901, allocations: 135.6 kB / 0.5346 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3903, allocations: 188 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3904, allocations: 7 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3905, allocations: 50.56 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3907, allocations: 146.5 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3908, allocations: 147 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3914, allocations: 376.9 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3914, allocations: 0 / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3914, allocations: 0 / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3914, allocations: 5.219 kB / 0.5354 GB, free: 9.945 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.001033/0.3924, allocations: 0.7702 MB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3925, allocations: 9.094 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3926, allocations: 35.75 kB / 0.5362 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.3926, allocations: 51.17 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007021/0.3934, allocations: 456.9 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3934, allocations: 2.656 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3934, allocations: 10.16 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.3936, allocations: 88.08 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3937, allocations: 0 / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3937, allocations: 5.125 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3937, allocations: 1.125 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3938, allocations: 27.94 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3943, allocations: 382.2 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.3946, allocations: 110 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3947, allocations: 45.77 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3947, allocations: 1.062 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.395, allocations: 120.3 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.395, allocations: 0 / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005091/0.3955, allocations: 197 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.3956, allocations: 78.67 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3969, allocations: 1.053 MB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3969, allocations: 26.7 kB / 0.5388 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.3971, allocations: 242.7 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.3972, allocations: 36.56 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.3972, allocations: 27.22 kB / 0.5391 GB, free: 7.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3974, allocations: 369.3 kB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.3975, allocations: 35.69 kB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3976, allocations: 54.2 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.3978, allocations: 94.47 kB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3979, allocations: 5.062 kB / 0.5396 GB, free: 6.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003236/0.3982, allocations: 174.9 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3982, allocations: 5.531 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3982, allocations: 5.094 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3983, allocations: 1.625 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3984, allocations: 21.67 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3984, allocations: 5.312 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3985, allocations: 13.33 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3985, allocations: 7.938 kB / 0.5398 GB, free: 6.559 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.0002212/0.3988, allocations: 222.3 kB / 0.5401 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.3988, allocations: 57.86 kB / 0.5401 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.399, allocations: 67.2 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.399, allocations: 2.25 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.399, allocations: 1.094 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.399, allocations: 0 / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.3994, allocations: 342.8 kB / 0.5405 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3994, allocations: 1.125 kB / 0.5405 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.3994, allocations: 5.625 kB / 0.5405 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3994, allocations: 1.125 kB / 0.5405 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3994, allocations: 7.078 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3995, allocations: 0 / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3995, allocations: 1.281 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3998, allocations: 213 kB / 0.5407 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.4, allocations: 146.8 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.4, allocations: 2.156 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.4001, allocations: 7.172 kB / 0.5409 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.4001, allocations: 15.8 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4002, allocations: 5.281 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.4012, allocations: 0.7883 MB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4012, allocations: 0 / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.4015, allocations: 45.72 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.002111/0.4036, allocations: 1.043 MB / 0.5427 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4039, allocations: 82.94 kB / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.404, allocations: 0 / 0.5428 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.4041, allocations: 43.16 kB / 0.5428 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.0005221/0.4046, allocations: 77.78 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.006184/0.4108, allocations: 4.57 MB / 0.5474 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.4114, allocations: 0.8466 MB / 0.5482 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.4116, allocations: 58.94 kB / 0.5483 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.4118, allocations: 159.4 kB / 0.5484 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4118, allocations: 0 / 0.5484 GB, free: 15.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.4493, allocations: 9.092 MB / 0.5573 GB, free: 6.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.789/9.239, allocations: 11.64 kB / 0.5573 GB, free: 6.102 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)