Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 205.2 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.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.43 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.2232/0.2232, allocations: 46.1 MB / 344.3 MB, free: 11.46 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.002259/0.002259, allocations: 83.86 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3112, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003289/0.3146, allocations: 1.694 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3163, allocations: 1.001 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.3164, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3167, allocations: 50.25 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3171, allocations: 106.6 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3173, allocations: 69.56 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3174, allocations: 98.19 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/0.3175, allocations: 13.72 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.3176, allocations: 42.91 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.3177, allocations: 25.48 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.3177, allocations: 2.75 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.3178, allocations: 32.61 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.3179, allocations: 34.78 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.318, allocations: 37.31 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3182, allocations: 123.2 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3182, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3183, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3183, allocations: 1.375 kB / 0.5339 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000743/0.319, allocations: 444.8 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3191, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.3191, allocations: 36.11 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.3192, allocations: 11.77 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3196, allocations: 226.9 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3196, allocations: 5.75 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3196, allocations: 5.312 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3198, allocations: 47.3 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3198, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3198, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3198, allocations: 3.938 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.3199, allocations: 16.23 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.3202, allocations: 188.9 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3204, allocations: 63.05 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.3205, allocations: 15.73 kB / 0.5349 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3205, allocations: 9.344 kB / 0.535 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.3207, allocations: 64.92 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3207, allocations: 4 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003149/0.321, allocations: 100.3 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3211, allocations: 52.47 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.3214, allocations: 272 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3215, allocations: 25.7 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.3215, allocations: 111.5 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.3216, allocations: 26.2 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3216, allocations: 19.53 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3218, allocations: 327.2 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.3219, allocations: 16.2 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.3219, allocations: 31.77 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3221, allocations: 50.48 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3221, allocations: 5.094 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001847/0.3223, allocations: 84.88 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3223, allocations: 9.625 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3223, allocations: 3.984 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3223, allocations: 1.156 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.3224, allocations: 13.12 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3224, allocations: 1.125 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.3225, allocations: 6.172 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3225, allocations: 2.25 kB / 0.5361 GB, free: 8.742 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 (7): * Single equations (assignments): 7 * 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.0001211/0.3226, allocations: 136.1 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3227, allocations: 15.06 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.3227, allocations: 24.73 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3227, allocations: 0 / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3227, allocations: 1.219 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3228, allocations: 0 / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3229, allocations: 199.1 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.323, allocations: 0 / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.323, allocations: 11.95 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.323, allocations: 0 / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.323, allocations: 1.094 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.323, allocations: 1 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.323, allocations: 4 kB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3233, allocations: 119 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3233, allocations: 88.58 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3234, allocations: 1.281 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.3234, allocations: 1.375 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3234, allocations: 6.484 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3235, allocations: 2.688 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3237, allocations: 206.5 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3237, allocations: 0 / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.3239, allocations: 22.05 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001916/0.3258, allocations: 0.9561 MB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.326, allocations: 39.7 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.326, allocations: 1.469 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.3261, allocations: 27 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3264, allocations: 31.17 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3284, allocations: 1.674 MB / 0.5396 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3288, allocations: 0.7193 MB / 0.5403 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.3288, allocations: 12.55 kB / 0.5403 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3289, allocations: 37.05 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3289, allocations: 0 / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.3535, allocations: 3.5 MB / 0.5438 GB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.483, allocations: 11.12 kB / 0.5438 GB, free: 3.176 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)