Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, 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.0015/0.0015, 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.39 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.2218/0.2218, allocations: 46.13 MB / 344.4 MB, free: 11.42 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.003129/0.003129, allocations: 83.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3243, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002989/0.3273, allocations: 1.73 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.329, allocations: 1.025 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.3291, allocations: 0.9375 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.3293, allocations: 43.2 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.3296, allocations: 90.95 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3298, allocations: 78.45 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.33, allocations: 101.6 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3301, allocations: 23.16 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.3302, allocations: 34.8 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.3303, allocations: 34.8 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3303, allocations: 4.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.3304, allocations: 43.47 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.3304, allocations: 18.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.3305, allocations: 35.98 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3307, allocations: 125.8 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3307, allocations: 4 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3307, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3307, allocations: 0 / 0.534 GB, free: 10.81 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.0005368/0.3313, allocations: 428.8 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3313, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.3314, allocations: 32.12 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3314, allocations: 10.39 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.3317, allocations: 221.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3317, allocations: 5.75 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3317, allocations: 5.312 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3319, allocations: 57.98 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3319, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.3319, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3319, allocations: 1.375 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.332, allocations: 17.61 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3324, allocations: 294.8 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3326, allocations: 61.88 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.3326, allocations: 22.47 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3327, allocations: 1.375 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3328, allocations: 65.14 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3328, allocations: 0 / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.3334, allocations: 182.3 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3334, allocations: 56.78 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3336, allocations: 199.5 kB / 0.5356 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3336, allocations: 26.86 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.3337, allocations: 106 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3338, allocations: 23.08 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.3338, allocations: 24.23 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.334, allocations: 326.5 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.334, allocations: 23.22 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.3341, allocations: 35.39 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.3342, allocations: 59.33 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3342, allocations: 384 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.3344, allocations: 103.5 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3345, allocations: 9.5 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3345, allocations: 5.156 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3345, allocations: 4 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.3346, allocations: 13.47 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3346, allocations: 1.188 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3346, allocations: 14.23 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3347, allocations: 2.375 kB / 0.5363 GB, free: 8.59 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.0001055/0.3348, allocations: 126.8 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3348, allocations: 14.66 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.3349, allocations: 22.02 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3349, allocations: 1.188 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3349, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3349, allocations: 5.188 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3354, allocations: 397.8 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3354, allocations: 1.125 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.3354, allocations: 6.875 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3354, allocations: 5.062 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3354, allocations: 6.344 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3355, allocations: 1.094 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3355, allocations: 0 / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3357, allocations: 204.7 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.3358, allocations: 92.34 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3358, allocations: 6.344 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.3359, allocations: 5.156 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3359, allocations: 12.33 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.336, allocations: 3.156 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.3361, allocations: 148.8 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3361, allocations: 0 / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3364, allocations: 20.66 kB / 0.5374 GB, free: 7.629 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.002116/0.3385, allocations: 1.1 MB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3387, allocations: 58.28 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3387, allocations: 0 / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.3388, allocations: 37.22 kB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3391, allocations: 32.48 kB / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.341, allocations: 1.645 MB / 0.5402 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3413, allocations: 0.7052 MB / 0.5409 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.3414, allocations: 18.7 kB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.3415, allocations: 39.05 kB / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3415, allocations: 1.062 kB / 0.5409 GB, free: 4.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.3671, allocations: 3.46 MB / 0.5443 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.438, allocations: 8.688 kB / 0.5443 GB, free: 2.652 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)